From 5c7c725365a5892334f3e90083e59096d311fae7 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 24 Jun 2010 13:40:26 +0200 Subject: Approve right away group text channels if we are not invited If we have not been invited, that means the channel is spawned by the CM (when using IRC proxy for example) so we want to display it right away. --- src/empathy-event-manager.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/empathy-event-manager.c') diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 9dabb5407..6e4526189 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -832,7 +832,11 @@ approve_channels (TpSimpleApprover *approver, goto out; } - /* if we are not invited, let's wait for the first message */ + /* We are not invited, approve the channel right now */ + tp_add_dispatch_operation_context_accept (context); + + event_manager_approval_approve (approval); + return; } /* 1-1 text channel, wait for the first message */ -- cgit v1.2.3