Comparison

plugins/mod_smacks.lua @ 12720:0a137436490f

mod_smacks: Set session flag during successful enable
author Matthew Wild <mwild1@gmail.com>
date Sat, 03 Sep 2022 21:20:29 +0100
parent 12719:268b1a9162a9
child 12739:0dc80024fdd2
comparison
equal deleted inserted replaced
12719:268b1a9162a9 12720:0a137436490f
334 resume_max = resume_token and tostring(resume_timeout) or nil; 334 resume_max = resume_token and tostring(resume_timeout) or nil;
335 session = session; 335 session = session;
336 finish = function () 336 finish = function ()
337 session.log("debug", "Enabling stream management"); 337 session.log("debug", "Enabling stream management");
338 338
339 session.smacks = stanza.attr.xmlns;
339 track_session(session, resume_token); 340 track_session(session, resume_token);
340 wrap_session(session, false); 341 wrap_session(session, false);
341 end; 342 end;
342 }; 343 };
343 end 344 end