aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 09bff03e3..897127b28 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1278,6 +1278,7 @@ chat_message_received (EmpathyChat *chat,
if (empathy_message_is_incoming (message)) {
priv->unread_messages++;
+ g_object_notify (G_OBJECT (chat), "nb-unread-messages");
}
g_signal_emit (chat, signals[NEW_MESSAGE], 0, message, pending);