Bug 49443

Summary: reinstate tp_contact_is_self
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 22965, 49371    
Bug Blocks:    

Description Simon McVittie 2012-05-03 12:18:07 UTC
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.
Comment 1 GitLab Migration User 2019-12-03 20:40:00 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-glib/issues/92.

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.