mod_smacks: Only track resumable sessions

Required due to track_session() having moved here
This commit is contained in:
Kim Alvefur 2022-11-18 16:18:47 +01:00
parent ae84717255
commit c916ce76ee

View file

@ -338,7 +338,9 @@ function do_enable(session, stanza)
session.log("debug", "Enabling stream management");
session.smacks = stanza.attr.xmlns;
track_session(session, resume_token);
if resume_token then
track_session(session, resume_token);
end
wrap_session(session, false);
end;
};