diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-08-14 11:23:41 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-08-14 11:23:41 +0000 |
commit | 76cbb1d718f2d72bca13c20f41dfd9ecdf0660c4 (patch) | |
tree | 778fc726344464e9e8ec161cca52c7f0533472bb /protocols/FacebookRM/src/connection.cpp | |
parent | b93735eb1bd456769e5eef361cc4b9a8616f0f7f (diff) |
Facebook: Provide option to automatically join existing chats (enabled by default)
git-svn-id: http://svn.miranda-ng.org/main/trunk@17184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 5 |
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"); |