status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
301 stars 79 forks source link

Include "self" in the contact model for consistency and simpler flows #16748

Open micieslak opened 1 week ago

micieslak commented 1 week ago

Description

Currently there is contactsModel in ContactsStore holding all contacts excluding "self" (contacts/service.nim, getContactsByGroup). I creates necessity to handle own profile in special way in many places, using ProfileStore. It could be simplified by allowing to keep "self" in the model as well.