about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-05-24 21:13:33 +0100
committerJames Booth <boothj5@gmail.com>2014-05-24 21:13:33 +0100
commitb25b3f318036e6b14d52fef5a4f418a36d9b5a64 (patch)
tree64390020af43f1435e2bd214a2870c07db8b3168 /src/xmpp
parenteb0f0dd96b368424a1f2344d23c67c1e8934aae4 (diff)
downloadprofani-tty-b25b3f318036e6b14d52fef5a4f418a36d9b5a64.tar.gz
Added notification setting for typing in current window
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index f8e2e18b..8efe90af 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -476,9 +476,7 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
         // deal with chat states if recipient supports them
         if (recipient_supports && (!delayed)) {
             if (xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_COMPOSING) != NULL) {
-                if (prefs_get_boolean(PREF_NOTIFY_TYPING) || prefs_get_boolean(PREF_INTYPE)) {
-                    handle_typing(jid->barejid);
-                }
+                handle_typing(jid->barejid);
             } else if (xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_GONE) != NULL) {
                 handle_gone(jid->barejid);
             } else if (xmpp_stanza_get_child_by_name(stanza, STANZA_NAME_PAUSED) != NULL) {