-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No MsgsChanged event for archived chats special chat list item when an archived chat is noticed #5768
Labels
bug
Something is not working
Comments
I think it's a core issue. The listener is invoked when a new unread message appears in the archive, but is not invoked when a message in the archive is read. |
I will try to investigate |
WofWca
referenced
this issue
in WofWca/deltachat-core-rust
Jul 10, 2024
This makes the test fail (and rightly so). This is the cause of https://github.com/deltachat/deltachat-desktop/issues/4016
WofWca
referenced
this issue
in WofWca/deltachat-core-rust
Jul 10, 2024
This makes the test fail (and rightly so). This is the cause of https://github.com/deltachat/deltachat-desktop/issues/4016
Indeed this looks like #3940 wasn't fixed completely. When an archived chat is read, an |
iequidoo
added a commit
that referenced
this issue
Jul 11, 2024
… decrease (#5768) Emit `MsgsChanged` for DC_CHAT_ID_ARCHIVED_LINK if the number of unnoticed archived chats could decrease. In general we don't want to make an extra db query to know if a noticied chat is archived. Emitting events should be cheap, better to allow false-positive `MsgsChanged` events.
iequidoo
added a commit
that referenced
this issue
Jul 11, 2024
… decrease (#5768) Follow-up to 3cf7874 "Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with unread messages increases (#3940)". In general we don't want to make an extra db query to know if a noticied chat is archived. Emitting events should be cheap, better to allow false-positive `MsgsChanged` events.
iequidoo
changed the title
special Chat list item for archived chats does not update unread count
No MsgsChanged event for archived chats special chat list item when an archived chat is noticed
Jul 11, 2024
iequidoo
added a commit
that referenced
this issue
Jul 22, 2024
… decrease (#5768) Follow-up to 3cf7874 "Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with unread messages increases (#3940)". In general we don't want to make an extra db query to know if a noticied chat is archived. Emitting events should be cheap, better to allow false-positive `MsgsChanged` events.
iequidoo
added a commit
that referenced
this issue
Jul 22, 2024
… decrease (#5768) Follow-up to 3cf7874 "Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with unread messages increases (#3940)". In general we don't want to make an extra db query to know if a noticied chat is archived. Emitting events should be cheap, better to allow false-positive `MsgsChanged` events.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
I suspect this is a bug that got masked by the "load first 20 items" in the chatlist that recently got removed in deltachat/deltachat-desktop#4004
Possible solution:
C.DC_CHAT_ID_ARCHIVED_LINK
) so the constant shall be used to identify itThe text was updated successfully, but these errors were encountered: