diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-04 23:33:55 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-04-04 23:35:51 +0300 |
commit | 8721208a636712a2c014917d460ee2748225583b (patch) | |
tree | 42075338fd7c1f5c18dc64cd093fa67fc3c1b19e /protocols/JabberG/src/jabber_strm_mgmt.cpp | |
parent | 25fed4bccbac68ea89325025f9d08fcb5eb6b258 (diff) |
protocols: jabber: xep-0198
- do not request roster on resumed session
Diffstat (limited to 'protocols/JabberG/src/jabber_strm_mgmt.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_strm_mgmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_strm_mgmt.cpp b/protocols/JabberG/src/jabber_strm_mgmt.cpp index 6fa7afcf84..b05b0b3cbb 100755 --- a/protocols/JabberG/src/jabber_strm_mgmt.cpp +++ b/protocols/JabberG/src/jabber_strm_mgmt.cpp @@ -46,6 +46,7 @@ void strm_mgmt::OnProcessEnabled(HXML node, ThreadData * /*info*/) m_sStrmMgmtResumeId = XmlGetAttrValue(node, L"id");
}
}
+ //TODO: handle 'location'
m_nStrmMgmtLocalHCount = 0;
m_nStrmMgmtSrvHCount = 0;
}
@@ -240,4 +241,9 @@ void strm_mgmt::SendAck() XmlAddAttr(enable_sm, L"xmlns", L"urn:xmpp:sm:3");
xmlAddAttrInt(enable_sm, L"h", m_nStrmMgmtLocalHCount);
proto->m_ThreadInfo->send_no_strm_mgmt(enable_sm);
+}
+
+bool strm_mgmt::IsSessionResumed()
+{
+ return bSessionResumed;
}
\ No newline at end of file |