status-desktop/ui
Jonathan Rainville fe8a58c5db fix(badges): fix muted chat not being marked as read
Fixes #11041

Fixes the bug where going to a muted channel with a mention doesn't mark it as read. This was because the QML doesn't call mark as read when a channel doesn't have unviewed messages. That was because our Nim code put 0 as unviewedMessageCount when a channel is muted.

I changed it so that channels always have the value from status-go. No more conditions on the Nim side. Now the condition is on the QML side. So we hide the badge in QML instead. That also means that showing the number of unviewed message, even in a muted channel works.

I also fixed a bug where we counted muted messages on app restart for the normal badge. Usually it didn't cause issues, because it's rare that you had messages in a muted channel and nothing else. You'd also have unread messages in an unmuted channel. so you'd go there, read it, and it would then update the parent badge. 
While testing this issue, I discovered that we in fact count muted channels for the parent badge.
So i fixed it in this one too.
So while chats don't have any Nim code for muted chats, sections do, because status-go doesn't really give us that information.
2023-06-16 15:12:12 -04:00
..
StatusQ fix(badges): fix muted chat not being marked as read 2023-06-16 15:12:12 -04:00
app feat(@dekstop/wallet): use amounts from activity backend 2023-06-16 11:06:23 -03:00
fonts fix(cpp): make libraries which are not dynamically loaded static 2022-08-02 15:30:08 +02:00
i18n chore(translations): update translations 2023-03-06 21:35:32 +01:00
imports feat(@dekstop/wallet): use amounts from activity backend 2023-06-16 11:06:23 -03:00
include/StatusDesktop/Monitoring chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
src/StatusDesktop/Monitoring chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
MonitoringSources.cmake chore(general): move cpp files of monitoring tool from DOtherSide to ui dir 2023-02-09 14:27:53 +01:00
generate-rcc.go fix(StatusQ): StatusQ is QML module (#10207) 2023-04-14 11:18:56 +03:00
main.qml chore: Integrate DB re-encryption process due to page size changes 2023-06-14 21:12:22 +03:00
nim-status-client.pro feat(general): Initial setup for app monitoring tool 2023-01-13 13:47:08 +01:00