diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-05-05 23:23:59 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-05-05 23:23:59 +0200 |
commit | 88ca07977eb507f37bcd87b6c3a324b1c23eeb9f (patch) | |
tree | 976360e1f3373d4bf2ab66c0c7884f38cb575b9d /protocols/FacebookRM/src/messages.cpp | |
parent | d222d890c51ea95aab36c091a3d9ca18f5698afc (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.cpp | 4 |
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; } |