mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_smacks: Only track resumable sessions
Required due to track_session() having moved here
This commit is contained in:
parent
ae84717255
commit
c916ce76ee
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue