[Telepathy] [Bug 18170] org.freedesktop.Telepathy.Connection.Interface.Capabilities: AdvertiseCapabilities() ignored

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 23 13:36:10 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=18170





--- Comment #2 from Alban Crequy <alban.crequy at collabora.co.uk>  2008-10-23 13:36:10 PST ---
1. Is changing of the own capability implemented?

Yes, it is implemented by Gabble: see
src/connection.c:gabble_connection_advertise_capabilities()

The signal CapabilitiesChanged should be emitted with your own handle if the
previous caps and the new caps are different:

> if (caps ^ save_caps)
> ...
>   _emit_capabilities_changed (self, base->self_handle,
>          save_caps, caps);

There is some tests for the Connection.Interface.Capabilities interface but it
seems AdvertiseCapabilities is not tested.

I will add a test for that.

2. Which changes are supported/handled by gabble?

I am not sure to understand the question.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list