diff options
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index cdddf2d6c..3810e209b 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1754,6 +1754,20 @@ empathy_chat_get_remote_contact (EmpathyChat *chat) return priv->remote_contact; } +guint +empathy_chat_get_members_count (EmpathyChat *chat) +{ + EmpathyChatPriv *priv = GET_PRIV (chat); + + g_return_val_if_fail (EMPATHY_IS_CHAT (chat), 0); + + if (priv->tp_chat) { + return empathy_tp_chat_get_members_count (priv->tp_chat); + } + + return 0; +} + void empathy_chat_clear (EmpathyChat *chat) { |