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.
-- 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-glib/issues/92.