Skip to content

Commit 39ff618

Browse files
committed
Add a comment to previous commit
1 parent dfdaca7 commit 39ff618

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

matrix.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,9 @@ function Room:SetName(name)
17811781
if not name or name == '' or name == json.null then
17821782
return
17831783
end
1784+
-- Replace spaces with _, since weechat has poor support for names with
1785+
-- spaces.
1786+
-- (see weechat/weechat#937 https://github.com/weechat/weechat/issues/937)
17841787
name = name:gsub(" ", "_")
17851788

17861789
-- Check for dupe

0 commit comments

Comments
 (0)