aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/name.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-02-04 09:18:53 +0100
committerKim Alvefur <zash@zash.se>2016-02-04 09:18:53 +0100
commit29bc9a1ef2c31c0bda228b0e89bb6dfb2436ca3d (patch)
tree6d903721403765ab70992035ec87b439b7b76f1e /plugins/muc/name.lib.lua
parent5df1bf82329e39fda69a296ef372da58268b27cb (diff)
downloadprosody-29bc9a1ef2c31c0bda228b0e89bb6dfb2436ca3d.tar.gz
prosody-29bc9a1ef2c31c0bda228b0e89bb6dfb2436ca3d.zip
MUC: Roll back parts of 50b9a7e86de9 that were not in the disco#info event
Diffstat (limited to 'plugins/muc/name.lib.lua')
-rw-r--r--plugins/muc/name.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/name.lib.lua b/plugins/muc/name.lib.lua
index 302c2992..d9bfc4cf 100644
--- a/plugins/muc/name.lib.lua
+++ b/plugins/muc/name.lib.lua
@@ -30,8 +30,8 @@ module:hook("muc-config-form", function(event)
name = "muc#roomconfig_roomname";
type = "text-single";
label = "Name";
+ value = get_name(event.room) or "";
});
- event.formdata["muc#roomconfig_roomname"] = get_name(event.room) or "";
end);
module:hook("muc-config-submitted/muc#roomconfig_roomname", function(event)