aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-19 17:16:22 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-17 20:53:23 +0800
commit8c8046a95a4db39a507aceb78e3c23f959eb7745 (patch)
tree08de4fb16840ffdf41ea8fecc6f1791e8fadbaa2 /libempathy
parent14d38669faa5ed366832dd8f8fc9da7813f8a4af (diff)
downloadgsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar.gz
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar.bz2
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar.lz
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar.xz
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.tar.zst
gsoc2013-empathy-8c8046a95a4db39a507aceb78e3c23f959eb7745.zip
add inviter arg to empathy_tp_chat_is_invited
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c5
-rw-r--r--libempathy/empathy-tp-chat.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 858cfae27..a9a63f548 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1868,7 +1868,8 @@ empathy_tp_chat_join (EmpathyTpChat *self)
}
gboolean
-empathy_tp_chat_is_invited (EmpathyTpChat *self)
+empathy_tp_chat_is_invited (EmpathyTpChat *self,
+ TpHandle *inviter)
{
EmpathyTpChatPriv *priv = GET_PRIV (self);
TpHandle self_handle;
@@ -1881,5 +1882,5 @@ empathy_tp_chat_is_invited (EmpathyTpChat *self)
return FALSE;
return tp_channel_group_get_local_pending_info (priv->channel, self_handle,
- NULL, NULL, NULL);
+ inviter, NULL, NULL);
}
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h
index e5abe936f..3ac5eaf58 100644
--- a/libempathy/empathy-tp-chat.h
+++ b/libempathy/empathy-tp-chat.h
@@ -101,7 +101,8 @@ gboolean empathy_tp_chat_can_add_contact (EmpathyTpChat *self);
void empathy_tp_chat_leave (EmpathyTpChat *chat);
void empathy_tp_chat_join (EmpathyTpChat *chat);
-gboolean empathy_tp_chat_is_invited (EmpathyTpChat *chat);
+gboolean empathy_tp_chat_is_invited (EmpathyTpChat *chat,
+ TpHandle *inviter);
G_END_DECLS