diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index ae6c0d934..b1fb93d02 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1420,6 +1420,10 @@ chat_should_highlight (EmpathyChat *chat, g_return_val_if_fail (EMPATHY_IS_MESSAGE (message), FALSE); + if (!empathy_chat_is_room (chat)) { + return FALSE; + } + if (!empathy_message_is_incoming (message)) { return FALSE; } |