FriendsOfFlarum / byobu

Well integrated, advanced private discussions for your Flarum forum.
https://discuss.flarum.org/d/4762-flagrow-by-bu-well-integrated-advanced-private-discussions
MIT License
54 stars 33 forks source link

A private discussion can't be deleted forever if it's recipient unincluded admins and mods. #189

Open Kuan-Lun opened 1 year ago

Kuan-Lun commented 1 year ago

Bug Report

Steps to Reproduce

  1. Set user can't delete discussions forever.
  2. A user creates a private discussion whose recipient unincluded admins and mods.
  3. The user deletes the above private discussion.
  4. Admins and mods can't see the above private discussion, which implies they can't delete it forever.
  5. We can see the data of the above private discussion in MySQL table discussions. Note that the value of its is_private is 1 implies admins and mods can't see it.

If we want to delete the above private discussion forever, we need to change the value of its is_private to 0, implying that admins and mods can delete it forever.

Expected Behavior The data in MySQL should be removed.

Screenshots No.

Environment