reinstate tp_contact_is_self
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
tp_contact_is_self() would be nice to have, and Xavier implemented it.
However, I've just reverted it. It's subtle, because:
-
on IRC, your globally-valid identifier can change
-
on XMPP, your channel-specific identifier can change (admittedly, Gabble doesn't implement that)
-
Bug #22965 means we don't actually track a channel-specific self-contact properly, so if Gabble did implement it changing, we'd get confused
We need to think about whether we want it before proceeding much further with Bug #49371, since implementing it (in a way that isn't frequently a lie) requires that all TpChannel objects track at least enough Group state to know which identifier is you.
Version: git master