Sun, 27 May 2018 17:30:37 +0200
riddim.plugins.groupchat: Change numeric stanza attribute to string to comply with util.stanza strict mode
plugins/groupchat.lua | file | annotate | diff | comparison | revisions |
--- 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