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.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp
index 1b44b4c544..e26c64e471 100644
--- a/protocols/FacebookRM/src/connection.cpp
+++ b/protocols/FacebookRM/src/connection.cpp
@@ -156,8 +156,9 @@ void FacebookProto::ChangeStatus(void*)
return;
}
- // Join all locally present chatrooms
- JoinChatrooms();
+ // Join all locally present chatrooms (if enabled)
+ if (getBool(FACEBOOK_KEY_JOIN_EXISTING_CHATS, DEFAULT_JOIN_EXISTING_CHATS))
+ JoinChatrooms();
ToggleStatusMenuItems(true);
debugLogA("*** SignOn complete");