[Telepathy] Authorizing new buddies
Xavier Claessens
xclaesse at gmail.com
Fri Jun 8 09:15:28 PDT 2012
Le vendredi 08 juin 2012 à 10:11 -0500, Jason Talley a écrit :
> Awesome. That worked fantastic!
Good :)
> I did stumble on to the next issue regarding contacts. How does one
> ADD a contact?
First create a TpContact from the id the user typed in your UI using
tp_connection_dup_contact_by_id_async();
Then tp_contact_request_subscription_async().
> tp_connection_add_to_group_async seems like a good start, but it
> seems to only deal with groups, not new contacts. My UI is primitive,
> and I don't have TP_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS defined
> anyway.
Groups are something different, it's put your contacts into named
groups, like "familly", etc.
Regards,
Xavier Claessens.
More information about the telepathy
mailing list