diff options
-rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 7 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 10 |
2 files changed, 0 insertions, 17 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 836b016cdd..3c1581a46f 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -1196,13 +1196,6 @@ int __cdecl CJabberProto::SetStatus(int iNewStatus) if (iNewStatus == ID_STATUS_OFFLINE) {
if (m_ThreadInfo) {
- if (m_bJabberOnline) {
- // Quit all chatrooms (will send quit message)
- LISTFOREACH(i, this, LIST_CHATROOM)
- if (JABBER_LIST_ITEM *item = ListGetItemPtrFromIndex(i))
- GcQuit(item, 0, NULL);
- }
-
m_ThreadInfo->send("</stream:stream>");
m_ThreadInfo->shutdown();
RebuildInfoFrame();
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index a4bb4f7cc4..d3b33c5afa 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -121,14 +121,6 @@ static VOID CALLBACK JabberPasswordCreateDialogApcProc(void* param) CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_PASSWORD), NULL, JabberPasswordDlgProc, (LPARAM)param);
}
-static VOID CALLBACK JabberOfflineChatWindows(void* param)
-{
- CJabberProto *ppro = (CJabberProto*)param;
- GCDEST gcd = { ppro->m_szModuleName, NULL, GC_EVENT_CONTROL };
- GCEVENT gce = { sizeof(gce), &gcd };
- CallService(MS_GC_EVENT, SESSION_TERMINATE, (LPARAM)&gce);
-}
-
/////////////////////////////////////////////////////////////////////////////////////////
// Jabber keep-alive thread
@@ -549,8 +541,6 @@ recvRest: SendMessage(m_hwndJabberChangePassword, WM_COMMAND, MAKEWORD(IDCANCEL, 0), 0);
}
- CallFunctionAsync(JabberOfflineChatWindows, this);
-
ListRemoveList(LIST_CHATROOM);
ListRemoveList(LIST_BOOKMARK);
//UI_SAFE_NOTIFY(m_pDlgJabberJoinGroupchat, WM_JABBER_CHECK_ONLINE);
|