summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-05 14:31:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-05 14:31:44 +0300
commit300935cc22700e2ff3607fb3d0e06ac496ad6fcd (patch)
tree8bc656cd8474ddf1ec545b91f1491d325275e817 /protocols/ICQ-WIM/src/poll.cpp
parent4e61f273091ef5050ead326c809237d66417cd06 (diff)
fixes #1877 (ICQ-WIM doesn't close session correctly in some cases)
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index 9b64bbd99b..d04d7184bb 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -114,6 +114,8 @@ void CIcqProto::ProcessEvent(const JSONNode &ev)
ProcessPermissions(pData);
else if (szType == L"presence")
ProcessPresence(pData);
+ else if (szType == L"sessionEnded")
+ ShutdownSession();
else if (szType == L"typing")
ProcessTyping(pData);
}