unread mentions count does not match actual mentions count
- OS: ubuntu 22.04
- gajim version: gajim-default-nightly 20221026-1
Steps to reproduce
- have multiple users in a muc
- user1 mentions user2 in the muc
- further chat ensues, not mentioning user2 or any user on this instance of gajim
Expected behavior
I expect that number in the corner of the workspace icon will match the number of unread messages mentioning my users in gajim. It should should not count unread messages that do not mention my nick. Since the workspace icon shows no message count until a user has been mentioned, I'm assuming that this count is intended to only show the number of unread messages with mentions of my user, not total unread messages.
Actual behavior
After user2 is mentioned, the workspace icon mention count will match the number of total unread messages for the user that has been mentioned, as displayed on the tab for the given user in muc.
This is the total unread messages in the muc for user2:
This is the workspace icon showing that user2 has 8 unread mentions, while he only has 1 unread mention and 7 unread messages without mentions.