diff options
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 295615413..36b0896d9 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -3429,3 +3429,10 @@ empathy_chat_messages_read (EmpathyChat *self) } priv->unread_messages = 0; } + +/* Return TRUE if on of the contacts in this chat is composing */ +gboolean +empathy_chat_is_composing (EmpathyChat *chat) +{ + return chat->priv->compositors != NULL; +} |