plugins/groupchat.lua

changeset 143
bad1be5e4674
parent 136
e36f5d359aa5
child 160
eb5a04a9877a
--- a/plugins/groupchat.lua	Sun May 20 03:14:32 2018 +0200
+++ b/plugins/groupchat.lua	Sun May 27 17:30:37 2018 +0200
@@ -60,7 +60,7 @@
 	bot.stream:hook("pre-groupchat/joining", function(presence)
 		local muc_x = presence:get_child("x", xmlns_muc);
 		if muc_x then
-			muc_x:tag("history",{maxstanzas = 0});
+			muc_x:tag("history",{maxstanzas = "0"});
 		end
 	end);
 end

mercurial