Bug 383974 - The account own "contact" is sometime visible in the timeline
Summary: The account own "contact" is sometime visible in the timeline
Status: RESOLVED WORKSFORME
Alias: None
Product: ring-kde
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Emmanuel Lepage Vallée
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-24 20:59 UTC by Emmanuel Lepage Vallée
Modified: 2019-02-28 19:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Lepage Vallée 2017-08-24 20:59:34 UTC
If the user account own profile/contact/avatar creates more than a single ContactMethod entry (for example, by trying to call itself for some absurd reasons), it will create a "black hole" in the PhoneDirectoryModel. That duplicated ContactMethod should have the "isSelf" state, but doesn't. It means it can then vacuum history elements into itself instead of the real peer. The database is no longer consistent and the models view are wrong.