--- 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);