47d1546893
The issue is happening randomly. I managed to catch it few times and hopefully fix it. Problem was in leave proc in src/status/chat.nim cause we were sending activeChannelChanged signal from it what started setting activeChannel to the value of the backToFirstChat variable, and while that process was in progress setActiveChannelByIndex was called from activeChannel what caused another emit of activeChannelChanged signal while the previous one was not completed. That caused new setting of activeChannel with active channel index 0, what caused an app crash. This is fixed by setting active channel to the first one from the list when we get a signal that any channel from the list is removed. This way activeChannelChanged is broadcasted to the other parts correctly. Fixes: #2825 |
||
---|---|---|
.. | ||
ChatColumn | ||
CommunityComponents | ||
ContactsColumn | ||
components | ||
data | ||
ChatColumn.qml | ||
ChatLayout.qml | ||
CommunityColumn.qml | ||
ContactsColumn.qml | ||
qmldir |