summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-05-05 23:23:59 +0200
committerRobert Pösel <robyer@seznam.cz>2017-05-05 23:23:59 +0200
commit88ca07977eb507f37bcd87b6c3a324b1c23eeb9f (patch)
tree976360e1f3373d4bf2ab66c0c7884f38cb575b9d /protocols/FacebookRM/src/messages.cpp
parentd222d890c51ea95aab36c091a3d9ca18f5698afc (diff)
Facebook: Reverse logic of checkbox
Checkboxes should have positive description/meaning.
Diffstat (limited to 'protocols/FacebookRM/src/messages.cpp')
-rw-r--r--protocols/FacebookRM/src/messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp
index 8fa798548d..8e100eb870 100644
--- a/protocols/FacebookRM/src/messages.cpp
+++ b/protocols/FacebookRM/src/messages.cpp
@@ -137,8 +137,8 @@ void FacebookProto::SendTypingWorker(void *p)
send_typing *typing = static_cast<send_typing*>(p);
// Don't send typing notifications when we are invisible and user don't want that
- bool noTypingWhenInvisible = getBool(FACEBOOK_KEY_NO_TYPING_WHEN_INVISIBLE, DEFAULT_NO_TYPING_WHEN_INVISIBLE);
- if (noTypingWhenInvisible && isInvisible()) {
+ bool typingWhenInvisible = getBool(FACEBOOK_KEY_TYPING_WHEN_INVISIBLE, DEFAULT_TYPING_WHEN_INVISIBLE);
+ if (isInvisible() && !typingWhenInvisible) {
delete typing;
return;
}