From aade7b7e2006666d2af51016e1090bce5855edaf Mon Sep 17 00:00:00 2001 From: Chandni Verma Date: Mon, 24 Jan 2011 19:41:43 +0530 Subject: Do not display typing icon in MUC tabs Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609420 --- src/empathy-chat-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 9f893dc7e..519ee8fc9 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -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.")); } -- cgit v1.2.3