[Bug 50341] Special trick to add a contact in WLM
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 25 11:31:02 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=50341
--- Comment #4 from Xavier Claessens <xclaesse at gmail.com> 2012-05-25 02:31:02 PDT ---
So what I can suggest is adding tp_handle_ensure_async() in TpHandleRepoIface.
TpBaseConnection will use that in RequestHandles, and contacts-mixin will use
that in GetContactByID. Basically it will be documented to be used by any
user-provided ID, not needed for ids coming from the server.
TpDynamic/StaticHandleRepo will have a default impl of ensure_handle_async()
that just use tp_handle_ensure() and return in idle.
Then gabble will override that implementation, if the connection has the
jidlookup caps (yes MS server announce a special caps for that) then it will do
the <getjid> dance, otherwise it just use default implementation.
Does that plan sounds sane?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list