summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/connection.cpp
diff options
context:
space:
mode:
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");