Make sure only admins can change retention

This commit is contained in:
N Pex 2024-02-06 10:31:30 +00:00
parent 42ef05a804
commit e8182714bd
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ export default {
* Return true if we can set message retention policy in the room.
*/
canChangeRetentionPolicy() {
return true;
return this.userCanExportChat;
},
},
watch: {