[Telepathy] How to get contacts connected to more than one place ?
Xavier Claessens
xclaesse at gmail.com
Fri Oct 13 12:00:40 PDT 2006
Hi,
I'm looking at "PresenceUpdate" signal which says:
Parameters:
a dictionary of contact handles mapped to a struct containing:
- a UNIX timestamp of the last activity time (in UTC)
- a dictionary mapping the contact's current status identifiers to:
a dictionary of optional parameter names mapped to their
variant-boxed values
If the jabber protocol is used (gabble) the user can have a different
status for each connection. Is it possible to get the resource and
status'message for each connection with this signal ?
daf told me this signal should have parameters like:
presence[handle].statuses[0]['available'][0]['message']
So I guess we can have presence[handle].statuses[0,1,2...n] for each
connection and get optional parameters like ['message'] and
['resource'].
Currently dictionaries seems to always have only one entry which seems a
but useless. Is it a gabble limitation and will it be improved in the
future ? Or I am missing something ?
Xavier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20061013/73fcec4f/attachment.pgp
More information about the Telepathy
mailing list