]> git.0d.be Git - empathy.git/commitdiff
Do not display typing icon in MUC tabs
authorChandni Verma <chandniverma2112@gmail.com>
Mon, 24 Jan 2011 14:11:43 +0000 (19:41 +0530)
committerChandni Verma <chandniverma2112@gmail.com>
Mon, 24 Jan 2011 14:11:43 +0000 (19:41 +0530)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609420
src/empathy-chat-window.c

index 9f893dc7e2ea2768b215be181fd6e014ffc86a66..519ee8fc9094359305cfb0bc84c9ad1e5e6e0d8f 100644 (file)
@@ -663,7 +663,7 @@ chat_window_update_chat_tab (EmpathyChat *chat)
        else if (empathy_chat_get_nb_unread_messages (chat) > 0) {
                icon_name = EMPATHY_IMAGE_MESSAGE;
        }
-       else if (empathy_chat_is_composing (chat)) {
+       else if (remote_contact && empathy_chat_is_composing (chat)) {
                icon_name = EMPATHY_IMAGE_TYPING;
        }
        else if (remote_contact) {
@@ -708,7 +708,7 @@ chat_window_update_chat_tab (EmpathyChat *chat)
                                      _("Topic:"), subject);
        }
 
-       if (empathy_chat_is_composing (chat)) {
+       if (remote_contact && empathy_chat_is_composing (chat)) {
                append_markup_printf (tooltip, "\n%s", _("Typing a message."));
        }