Skip to content

Commit 492061f

Browse files
committed
I don't have any particular problems with spaces
If this breaks in the future, we can re-enable this fix. And if certain relay clients break on this, they should just be fixed, in my opinion.
1 parent 1d5b920 commit 492061f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matrix.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,10 +1786,11 @@ function Room:SetName(name)
17861786
if not name or name == '' or name == json.null then
17871787
return
17881788
end
1789+
17891790
-- Replace spaces with _, since weechat has poor support for names with
17901791
-- spaces.
17911792
-- (see weechat/weechat#937 https://github.com/weechat/weechat/issues/937)
1792-
name = name:gsub(" ", "_")
1793+
-- name = name:gsub(" ", "_")
17931794

17941795
-- Check for dupe
17951796
local buffer_name = w.buffer_get_string(self.buffer, 'name')

0 commit comments

Comments
 (0)