status-desktop/vendor
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
..
DOtherSide feat(universal-links): Adds universal links support for macOS 2023-06-15 14:29:06 +03:00
QR-Code-generator@bddb1a406f Chore: Bump QR-Code-generator 2023-03-22 15:20:07 +02:00
SortFilterProxyModel@6a471f1bef move qzxing and SortFilterProxyModel to vendor folder 2023-03-23 12:09:19 +01:00
chroma@6ec846e917 adding missing deps 2020-09-04 15:57:29 -04:00
conan-configs chore(CPP): foundation for user onboarding 2022-07-07 23:23:09 +02:00
edn.nim@3305e41f9d refactor(@desktop/general): repo cleaning 2022-02-01 11:52:33 +01:00
fcitx5-qt@fd06094f48 fix(@desktop/input): deploy Qt plugin to support fcitx 2022-01-26 18:11:39 +01:00
isaac@45a5cbbd54 refactor(@desktop/general): repo cleaning 2022-02-01 11:52:33 +01:00
nim-bearssl@acf9645e32 Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-chronicles@14e8537e4a Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-chronos@f7835a192b Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-confutils@38dfeaaabd Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-eth@72c9858927 Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-faststreams@814f8927e1 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-http-utils@a85bd52ae0 Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-json-rpc@07e4705b1f Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-json-serialization@a7d815ed92 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-keycard-go@6a4bed51d5 feat(@desktop/keycard): initial keycard implementation 2022-08-04 09:50:04 +02:00
nim-libp2p@c1a3bd8fee Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-metrics@a2293e8a34 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-result@bd668d16ef Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-secp256k1@4c41c5029f Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-serialization@5b7cea55ef Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-status-go@934096fe3f feat(@desktop/wallet): removing wallet account without an authentication 2023-05-09 12:05:49 +02:00
nim-stew@e18f5a62af Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-stint@eb1f32c675 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nim-taskpools@4bc0b592e8 fix(NimThreadpool): Implement lightweight threadpool 2023-02-27 10:16:53 +02:00
nim-web3@6a854220ea Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-websock@fea05cde8b Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
nim-zlib@826e2fc013 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nimPNG@e49f3c7bd0 Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nimage@d683a7319c adding missing deps 2020-09-04 15:57:29 -04:00
nimbus-build-system@2e69505479 re-point status-desktop@nimbus-build-system to common 1.6.12 commit 2023-04-24 12:38:35 -04:00
nimcrypto@4014ef939b Nim library upgrades, pt1 (#9703) 2023-03-03 11:14:10 +01:00
nimqml@75cb0ace7f chore: bump nimqml 2023-03-16 14:52:22 -04:00
qzxing@80bb1d2190 fix(StatusQ): StatusQ is QML module (#10207) 2023-04-14 11:18:56 +03:00
semver.nim@11a4906731 Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
status-go@a46bf97bf3 fix(badges): fix muted chat not being marked as read 2023-06-16 15:12:12 -04:00
status-keycard-go@0f6eab0141 fix: fixing keycard lib for mac M1 2023-05-03 18:05:39 +02:00
uuids@c5039c1cc6 feat: onboarding generate new account 2020-05-21 19:33:14 -04:00
CMakeLists.txt chore(CPP): Basic project configuration setup using Qt6 2022-06-30 12:16:33 +02:00