mirror of
https://github.com/status-im/status-desktop.git
synced 2025-03-01 06:51:08 +00:00
itemAt
on statusChatListItems.model instead of delegate
When StatusQ switched to using `DelegateModel` in `StatusChatList` to enable drag and drop, we lost the API `itemAt` which was previously exposed via the `Repeater` that was aliased as `chatListItems`. StatusQ now exposes `statusChatListItems` additionally so we can still access `model.itemAt` which is used in this commit. The only reason this is done here though, is because we need to update the profile picture of contacts when we get a contact changed signal. Ideally, we handle contact changes including the profile picture entirely in the backend and have it then just rerender the screen (instead of using a `Connection`). Fixes #3328
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
39.7%
JavaScript
29.3%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.5%