Software /
code /
prosody
Changeset
5853:3ee3d79db18c
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
author | Paul <paul@quakenet.org> |
---|---|
date | Sat, 05 Oct 2013 17:11:16 +0100 |
parents | 5849:8f451d370dd4 |
children | 5854:16a2bb97c5f5 5864:22b1d18eb919 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Mon Sep 30 21:51:42 2013 +0200 +++ b/plugins/muc/muc.lib.lua Sat Oct 05 17:11:16 2013 +0100 @@ -225,7 +225,7 @@ :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')) ;