aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul <paul@quakenet.org>2013-10-05 17:11:16 +0100
committerPaul <paul@quakenet.org>2013-10-05 17:11:16 +0100
commitc4ff2e7bd53a2b4083ba6a2c5ae0eda263289c31 (patch)
tree068b3ba4288124b315c83540776b01e42564cb3f
parent9fc1444ea64c2b88592326b11cf0056e39d1e272 (diff)
downloadprosody-c4ff2e7bd53a2b4083ba6a2c5ae0eda263289c31.tar.gz
prosody-c4ff2e7bd53a2b4083ba6a2c5ae0eda263289c31.zip
muc.lib.lua: Fix Spark jabber client not displaying conference room lists, seemingly due to a missing value tag for the room description if the description has not been set
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 1f725cf7..0dbe81fa 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -225,7 +225,7 @@ function room_mt:get_disco_info(stanza)
:tag("feature", {var=self._data.whois ~= "anyone" and "muc_semianonymous" or "muc_nonanonymous"}):up()
:add_child(dataform.new({
{ name = "FORM_TYPE", type = "hidden", value = "http://jabber.org/protocol/muc#roominfo" },
- { name = "muc#roominfo_description", label = "Description"},
+ { name = "muc#roominfo_description", label = "Description", value = "" },
{ name = "muc#roominfo_occupants", label = "Number of occupants", value = tostring(count) }
}):form({["muc#roominfo_description"] = self:get_description()}, 'result'))
;