142:211fa13c7ca2 | 143:bad1be5e4674 |
---|---|
58 end | 58 end |
59 | 59 |
60 bot.stream:hook("pre-groupchat/joining", function(presence) | 60 bot.stream:hook("pre-groupchat/joining", function(presence) |
61 local muc_x = presence:get_child("x", xmlns_muc); | 61 local muc_x = presence:get_child("x", xmlns_muc); |
62 if muc_x then | 62 if muc_x then |
63 muc_x:tag("history",{maxstanzas = 0}); | 63 muc_x:tag("history",{maxstanzas = "0"}); |
64 end | 64 end |
65 end); | 65 end); |
66 end | 66 end |