Bug 32024 - implement immortal handles
Summary: implement immortal handles
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-python (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 11:52 UTC by Simon McVittie
Modified: 2019-12-03 20:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.