Inbox entry still remaining after room is destroyed
MongooseIM version: 3.4.0 Installed from: docker image Erlang/OTP version: (put the version)
I am using mod_inbox together with mod_muc_light with the following config:
{mod_inbox, [
{backend, rdbms},
{groupchat, [muclight]},
{aff_changes, false}
]},
I notice that when I delete a room via the REST MUC-light management API, the room is properly deleted, but all inbox entries belonging to the room remain unchanged.
Is there a way to clear all inbox items for the room when the room is destroyed? Since no one is able to chat in the room any more, I don't want to bother them with unread notification.
Thanks
Hi @hongyuan1306
Sadly it's not possible right now, but indeed these entries should either be removed or at least the unread count should be set to 0, to avoid unnecessary notifications. I'll add an item to our backlog to improve this behaviour.