[Telepathy] Authorizing new buddies

Xavier Claessens xclaesse at gmail.com
Fri Jun 8 12:16:11 PDT 2012


tp_connection_get_contacts_by_id() does the same with a bit less
convenient API.


Le vendredi 08 juin 2012 à 14:01 -0500, Jason Talley a écrit :
> Thanks for the pointer.  Unfortunately, I'm stuck on
> telepathy-glib-17.7, and upgrading to 19 seems a bit over the top at
> the moment.  Hopefully I can use the new function as a map and get to
> where I need to go.  Thanks for the pointer.
> 
> That seems a bit easier than what I was looking at with TpContactSearch.
> 
> On Fri, Jun 8, 2012 at 11:15 AM, Xavier Claessens <xclaesse at gmail.com> wrote:
> > 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.
> >
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy




More information about the telepathy mailing list