From 9c4ce5c83b1b782d9031896454823e478611f6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 25 Jul 2016 19:20:57 +0000 Subject: Facebook: Don't join archived or unsubscribed chatrooms at login git-svn-id: http://svn.miranda-ng.org/main/trunk@17131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/connection.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'protocols/FacebookRM/src/connection.cpp') diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp index ec322c844e..ea24c8ca37 100644 --- a/protocols/FacebookRM/src/connection.cpp +++ b/protocols/FacebookRM/src/connection.cpp @@ -157,11 +157,7 @@ void FacebookProto::ChangeStatus(void*) } // Join all locally present chatrooms - for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) { - if (isChatRoom(hContact)) { - OnJoinChat(hContact, NULL); - } - } + JoinChatrooms(); ToggleStatusMenuItems(true); debugLogA("*** SignOn complete"); -- cgit v1.2.3