summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:57 +0000
committerRobert Pösel <robyer@seznam.cz>2016-07-25 19:20:57 +0000
commit9c4ce5c83b1b782d9031896454823e478611f6c2 (patch)
tree3bb2c5fe96c1c60cbb3a217a8c2dcf7bff7c10b9 /protocols/FacebookRM/src/connection.cpp
parentb77891cf703512e3e4d957b1fda69a6a6e22995b (diff)
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
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r--protocols/FacebookRM/src/connection.cpp6
1 files changed, 1 insertions, 5 deletions
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");