From: Guillaume Desmottes Date: Fri, 13 Feb 2009 10:26:36 +0000 (+0000) Subject: event_manager_approve_channel_cb: we are invited if the self handle is not 0 AND... X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=8e588250beb9f8ba54d18c48f608ac1d1f7cdd91;hp=c2db0041ca88cb86a1b2e208cf5d95c22e52f4ab 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 --- 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 */