summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/FacebookRM/src/connection.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp
index ed60abb5c5..ec322c844e 100644
--- a/protocols/FacebookRM/src/connection.cpp
+++ b/protocols/FacebookRM/src/connection.cpp
@@ -156,6 +156,13 @@ void FacebookProto::ChangeStatus(void*)
return;
}
+ // 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);
+ }
+ }
+
ToggleStatusMenuItems(true);
debugLogA("*** SignOn complete");
}