From 76cbb1d718f2d72bca13c20f41dfd9ecdf0660c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 14 Aug 2016 11:23:41 +0000 Subject: 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 --- protocols/FacebookRM/src/connection.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/connection.cpp') 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"); -- cgit v1.2.3