summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-28 10:03:13 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-03-28 10:03:13 +0300
commit37a61502be9d19eb89efd2c8c0cbe0debe968333 (patch)
tree6e5f26386831d6f45f99ae35ded6e2b7a39d21e5 /protocols/JabberG/src/jabber_proto.cpp
parent5e65ecbf7c7e008ac23adc0f29bc000f7fd27019 (diff)
prootcols: jabber: xep-0198
- send ack on disconnect as suggested by xep - bugfixes (outgoing messages tracking still does not work properly)
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 84310548fe..f2c0e992d7 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -1134,6 +1134,8 @@ int __cdecl CJabberProto::SetStatus(int iNewStatus)
if (iNewStatus == ID_STATUS_OFFLINE) {
if (m_ThreadInfo) {
+ if(m_bEnableStreamMgmt)
+ m_StrmMgmt.SendAck();
m_ThreadInfo->send("</stream:stream>");
m_ThreadInfo->shutdown();
RebuildInfoFrame();