Signal-iOS icon indicating copy to clipboard operation
Signal-iOS copied to clipboard

Deleting a group without reading new entries does not update unread count

Open JohanDoe opened this issue 11 years ago • 2 comments

The following results in the unread count (red nr on the middle icon in the bottom) to stay on 'X' unread even though there are no unread messages anymore.

Alice has Signal running in the background Her friend sends her X messages in a group Alice is notified and opens Signal, the icon below in the middle has a nice red 'X' button added to it, indicating the number of unread messages left. She is fed up with all these messages however and just deletes the group without 'entering' the conversation (delete via a swipe left) No unread conversations are left, as the remaining messages were read previously.

However: the icon in the middle below still has its nice red 'X' button, wrongfully suggesting that there are still X messages unread.

JohanDoe avatar Jan 10 '15 14:01 JohanDoe

It would be good to have a test for groups chats. We should just copy-paste this test, adapt it for groups and see what's going wrong.

FredericJacobs avatar Jan 11 '15 13:01 FredericJacobs

That was addressed in a refactor + tests written.

FredericJacobs avatar Jan 29 '15 09:01 FredericJacobs