mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-28 23:35:13 +00:00
Sale Djenic
102a385943
fix(@desktop/chat): app crash when you accept contact request
This issue is being happened randomly, no general rule, in my case it happens often when you accept first contact from the list immediately after the app start, but the ticket says that it happens when you click accept while context menu is opened. Two places were threat for this crash and both are fixed here: - getChannel proc, direct access by index to Chat element of the chats sequence, - setChatItem proc, where we actually were setting chatItem and accessing its property without checking if it is an empty object. Fixes: #2837
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%
JavaScript
29.8%
Nim
18.6%
Python
5.7%
C++
5.2%
Other
1.6%