plugins/smacks.lua

changeset 446
62fb547bd31a
parent 445
b119dc4d8bc2
child 448
6d97b42bb1b4
--- a/plugins/smacks.lua	Thu Jun 10 11:58:23 2021 +0200
+++ b/plugins/smacks.lua	Thu Jun 10 14:16:19 2021 +0200
@@ -130,7 +130,7 @@
 			if stream.smacks and stream.bound then -- Already enabled in a previous session - resume
 				stream:debug("Resuming stream with %d handled stanzas", handled_stanza_count);
 				stream:send(verse.stanza("resume", { xmlns = xmlns_sm,
-					h = handled_stanza_count, previd = stream.resumption_token }));
+					h = tostring(handled_stanza_count), previd = stream.resumption_token }));
 				return true;
 			else
 				stream:hook("bind-success", on_bind_success, 1);

mercurial