diff options
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-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 ea46e6b76..ae6c0d934 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_message_is_incoming (message)) { + return FALSE; + } + msg = empathy_message_get_body (message); if (!msg) { return FALSE; |