summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-07 22:00:24 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-07 22:01:44 +0300
commitc429dcfc34b0efb8022ebabcdc3b10925a685868 (patch)
tree6b73eac98ea76075e1d65837a06efc6ee534f834 /protocols/JabberG/src/jabber_thread.cpp
parent5811219420fdedef8941584ef70fec403d012e4e (diff)
protocols: jabber: xep-0198
- improoved resume logic
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_thread.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 7199b5181c..c032af1727 100755
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -760,6 +760,12 @@ void CJabberProto::OnProcessFeatures(HXML node, ThreadData *info)
return;
}
+ if (m_bEnableStreamMgmt) //resume should be done here
+ {
+ if (m_StrmMgmt.IsResumeIdPresent())
+ m_StrmMgmt.CheckState();
+ }
+
// mechanisms are not defined.
if (info->auth) { //We are already logged-in
info->send(