implement immortal handles
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
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.
Version: git master