Skip to content
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

Chat history not deleted when deleting a room #135

Open
pkukkon opened this issue Nov 17, 2020 · 1 comment
Open

Chat history not deleted when deleting a room #135

pkukkon opened this issue Nov 17, 2020 · 1 comment

Comments

@pkukkon
Copy link

pkukkon commented Nov 17, 2020

If a room gets deleted in Openfire, it is deleted from the database as well (mucroom) but tables ofmucconversationlog and via that, ofmessagearchive, still have references to roomID that no longer exists. While it is debatable whether deleting a room should also delete all messages of that room, that kind of sounds like the expected behavior?

@akrherz
Copy link
Member

akrherz commented Nov 17, 2020

Yeah, this gets into tricky business logic about what should be done. Deleting logs would be bad as the point of the plugin is often for compliance. I suspect we need to have some sort of flag on ofmucroom table to denote 'archived' rooms, such that a given room name could have duplicates to account for a room that gets deleted and then is created again with the same name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants