From 5756b9d02b60f1421abbca71624fc82ef469227a Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 May 2009 20:19:19 +0200 Subject: Don't claim outgoing channels --- src/empathy.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy.c b/src/empathy.c index 3bed5ce7a..0b22c72f1 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -133,7 +133,14 @@ dispatch_cb (EmpathyDispatcher *dispatcher, EmpathyFTFactory *factory; factory = empathy_ft_factory_dup_singleton (); - empathy_ft_factory_claim_channel (factory, operation); + + /* if the operation is not incoming, don't claim it, + * as it might have been triggered by another client, and + * we are observing it. + */ + if (empathy_dispatch_operation_is_incoming (operation)) { + empathy_ft_factory_claim_channel (factory, operation); + } } } -- cgit v1.2.3