Bug 32024

Summary: implement immortal handles
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-pythonAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2010-12-01 11:52:33 UTC
Since spec 0.21.6 handles are meant to last as long as the Connection does, which basically means that HoldHandles, ReleaseHandles and anything else that refs handles (Contacts, ContactList) should check that they're all valid, but not do anything else special.

A new HasImmortalHandles property indicates whether the CM has been updated to these semantics. In telepathy-glib we were able to set this to TRUE unconditionally, because the library implements the handle refcounting.

It'd be ideal to do the same for telepathy-python. Failing that, please do all you can in tp-py, then clone this bug to the Python CMs (Butterfly and Sunshine) to implement the rest themselves.

See Bug #23155 for more discussion, and telepathy-glib commits prior to 0.13.8 for an implementation.
Comment 1 GitLab Migration User 2019-12-03 20:14:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-python/issues/17.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.