]> git.0d.be Git - empathy.git/commit
empathy-chat: acknowledge pending messages on empathy_chat_messages_read() (#608979)
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Thu, 4 Feb 2010 22:24:01 +0000 (09:24 +1100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 8 Feb 2010 19:41:13 +0000 (19:41 +0000)
commit6e30bb870bc9748dd39e3a29992c5fd057afb339
tree760fac8da44d79ffd01ffd14904a828606373897
parent30d84cace706ad67081df9ac309190ba07aa7bac
empathy-chat: acknowledge pending messages on empathy_chat_messages_read() (#608979)

Empathy displays this handy number of unread messages in the title bar, but
you can't replicate this behaviour using an Observer because Empathy
acknowledges the messages immediately. This patch makes it so that Empathy
only acknowledges the messages when it decrements the unread messages count.

N.B. EmpathyTpChat currently seems to assume that no other client is going to
acknowledge messages for channels, it is handling. This seems valid enough,
just pointing it out.
libempathy-gtk/empathy-chat.c