ClientTypes list is not updated when contact goes offline
@dvratil
Submitted by Dan Vratil Assigned to Telepathy bugs list
Description
Created attachment 68452 Proposed patch
When a contact goes offline it's clientTypes list is not updated (cleared) so it still contains "pc" or "mobile", but that's not true anymore.
I don't know where exactly this should be fixed - whether backend should send a signal with empty clientTypes list when contact goes offline, or whether TelepathyQt should handle this on it's own. As I'm not much familiar with the code, the attached patch simply clears Tp::Contact::Private::mClientTypes list when contact's presence changes to offline.
Attachment 68452, "Proposed patch":
clear-clientTypes-when-contact-goes-offline.patch
Version: git master