diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 5 | ||||
-rw-r--r-- | libempathy/empathy-tp-chat.h | 3 |
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 |