As described in the document https://xmpp.org/extensions/xep-0422.html, message fastening is used to attach additional information to existing messages, such as deletion, editing, reactions, and more.
Description:
The current implementation of MongooseIM's inbox feature does not properly handle the impact of XEP-0422 (Message Fastening) on the unread count. As a result, when a user receives a message fastening, the unread count is inaccurately increased.
Steps to Reproduce:
- Send a message with another user
- Fasten the message using XEP-0422
- Check the unread count for the receiver's inbox
Expected Behavior:
The unread count for the user's inbox should not be affected by message fastenings. Receiving a message fastening should not increase the unread count.
Actual Behavior:
When an user receives a message fastening the unread count for the user's inbox is increased, indicating an incorrect number of unread messages.
As described in the document https://xmpp.org/extensions/xep-0422.html, message fastening is used to attach additional information to existing messages, such as deletion, editing, reactions, and more.
Description:
The current implementation of MongooseIM's inbox feature does not properly handle the impact of XEP-0422 (Message Fastening) on the unread count. As a result, when a user receives a message fastening, the unread count is inaccurately increased.
Steps to Reproduce:
Expected Behavior:
The unread count for the user's inbox should not be affected by message fastenings. Receiving a message fastening should not increase the unread count.
Actual Behavior:
When an user receives a message fastening the unread count for the user's inbox is increased, indicating an incorrect number of unread messages.