mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
Pascal Precht
cdd79a87e7
fix: make changing local nicknames of contacts work again
This fixes #4173 again. The problem is that changing the local nickname of a contact now uses new APIs in Status Desktop which emit new events that older code isn't aware off. Namely, the event handling in the chat section doesn't get informed anymore that the contact has changed, so it won't update the view accordingly. This commit fixes it by subscribing to that newly introduced event and then updating the view with the payload data. Notice that this is a quick fix and will most likely be obsolete, once the chat section has moved to the new architecture as well. Fixes #4173
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
37.6%
JavaScript
30.4%
Nim
19%
Python
5.8%
C++
5.4%
Other
1.7%