aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-01-18 23:12:40 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-01-18 23:12:40 +0800
commitdbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f (patch)
treeec1372f331b02a2a2101b1c2c25f88b26e8c3ff4 /libempathy/empathy-tp-chat.c
parent8eb3671bdebf2b31323d8ad26a0e89f9907cb828 (diff)
parent1acf8998707505a367ef27e04730907b56408b3d (diff)
downloadgsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar.gz
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar.bz2
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar.lz
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar.xz
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.tar.zst
gsoc2013-empathy-dbb95ed92ec1acc6d6bbf7b4a1dbcaf931070e4f.zip
Merge remote branch 'glassrose/Display-typing-icon-in-muc-contacts-list-609419'
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index f1351049a..e24ba84f5 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1959,3 +1959,12 @@ empathy_tp_chat_is_invited (EmpathyTpChat *self,
return tp_channel_group_get_local_pending_info (priv->channel, self_handle,
inviter, NULL, NULL);
}
+
+TpChannelChatState
+empathy_tp_chat_get_chat_state (EmpathyTpChat *chat,
+ EmpathyContact *contact)
+{
+ EmpathyTpChatPriv *priv = GET_PRIV (chat);
+ return tp_channel_get_chat_state (priv->channel,
+ empathy_contact_get_handle (contact));
+}