From 8e588250beb9f8ba54d18c48f608ac1d1f7cdd91 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 13 Feb 2009 10:26:36 +0000 Subject: [PATCH 1/1] event_manager_approve_channel_cb: we are invited if the self handle is not 0 AND we are in LP From: Guillaume Desmottes svn path=/trunk/; revision=2459 --- src/empathy-event-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 525222b8..f2bf611d 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -789,7 +789,7 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher, self_handle = tp_channel_group_get_self_handle (channel); - if (self_handle != 0 || tp_channel_group_get_local_pending_info ( + if (self_handle != 0 && tp_channel_group_get_local_pending_info ( channel, self_handle, &inviter, NULL, NULL)) { /* We are invited to a room */ -- 2.39.2