Diff

plugins/muc/muc.lib.lua @ 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
parent 5680:24b044f6e06d
child 5854:16a2bb97c5f5
child 6049:6d410ffd6e13
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'))
 	;