diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-16 02:19:19 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:18 +0800 |
commit | 5756b9d02b60f1421abbca71624fc82ef469227a (patch) | |
tree | 221cdea7d6b126466488b169cd00a3eb8234f6f5 /src/empathy.c | |
parent | 6ff16c56bc78c3df27f0da315536c94ae1a2085c (diff) | |
download | gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar.gz gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar.bz2 gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar.lz gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar.xz gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.tar.zst gsoc2013-empathy-5756b9d02b60f1421abbca71624fc82ef469227a.zip |
Don't claim outgoing channels
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 9 |
1 files changed, 8 insertions, 1 deletions
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); + } } } |