diff options
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 48aa793d5..1dd3908b4 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1793,3 +1793,13 @@ empathy_chat_correct_word (EmpathyChat *chat, -1); } +gboolean +empathy_chat_is_room (EmpathyChat *chat) +{ + EmpathyChatPriv *priv = GET_PRIV (chat); + + g_return_val_if_fail (EMPATHY_IS_CHAT (chat), FALSE); + + return (priv->handle_type == TP_HANDLE_TYPE_ROOM); +} + |