projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MUC: Provide a noop stub room:save() method
[prosody.git]
/
plugins
/
muc
/
hidden.lib.lua
diff --git
a/plugins/muc/hidden.lib.lua
b/plugins/muc/hidden.lib.lua
index 35ca302636e618226f5440958903318e338a2ca3..e1821bd795b3afaf2d4816f3b4cbded6f48494b2 100644
(file)
--- a/
plugins/muc/hidden.lib.lua
+++ b/
plugins/muc/hidden.lib.lua
@@
-15,7
+15,7
@@
local function set_hidden(room, hidden)
hidden = hidden and true or nil;
if get_hidden(room) == hidden then return false; end
room._data.hidden = hidden;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end