projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MUC: Save room to storage once after form processing, not in each individual setter
[prosody.git]
/
plugins
/
muc
/
name.lib.lua
diff --git
a/plugins/muc/name.lib.lua
b/plugins/muc/name.lib.lua
index fb014f759eb4edefba48fd7b43fd68616e79d0cd..3dbae9db59b59ff361c4f3d75e5fc63cb63ac6f8 100644
(file)
--- a/
plugins/muc/name.lib.lua
+++ b/
plugins/muc/name.lib.lua
@@
-17,7
+17,6
@@
local function set_name(room, name)
if name == "" or name == (jid_split(room.jid)) then name = nil; end
if room._data.name == name then return false; end
room._data.name = name;
- room:save(true);
return true;
end