Skip to content

Admin -> Settings -> Chats deletion UX review #14

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

Open
phwizard opened this issue Feb 6, 2025 · 0 comments
Open

Admin -> Settings -> Chats deletion UX review #14

phwizard opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@phwizard
Copy link
Contributor

phwizard commented Feb 6, 2025

Image


Image

Q: when I click "Delete" chats from here, they only get removed from "Pinned" or "Default" for the current app, I'm not deleting the rooms, right?
A1: platform group chats will be deleted only for your app, application chats will be deleted with rooms
A2: I made a mistake—the app chats are deleted only in the app's database, but the MUC rooms remain. On the client side, the room list is formed from two sources: app rooms come from API, and all rooms (including those from the app) come from chat server. However, they can only come from chat server if the app has been launched at least once.
So, if a room and its MUC are deleted from the admin panel, the client will still receive this room from the custom getUserRooms plugin, which won’t be aware of the deletion via the chat server admin API.

to review this behaviour

@phwizard phwizard added the enhancement New feature or request label Feb 6, 2025
@phwizard phwizard self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant