https://bugs.kde.org/show_bug.cgi?id=291869





--- Comment #2 from George Kiagiadakis <kiagiadakis george gmail com>  
2012-01-19 13:25:37 ---
(In reply to comment #1)
> I don't fully understand this.
> 
> How does one switch from being an observer to a handler? 

By calling Claim() in the ChannelDispatchOperation. It's explained in the spec.

> What happens when "it lets the channel be dispatched normally"? 
> Surely MC will look for an valid handlers running, and choose ours which is
> running rather than the empathy-auth-client which is only an observer.

Maybe I wasn't clear on this. empathy-auth-client is both an observer and a
handler. As an observer, it only checks if the channel can be handled with
itself and if it can, it calls Claim() and handles it as a handler. If not,
then it returns from ObserveChannels() and lets MC pick a handler, but since it
is itself a handler as well (which is also running at that time), MC has high
chances of using it as a handler.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDE-Telepathy mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-telepathy

Reply via email to