Make sure only admins can change retention
This commit is contained in:
parent
42ef05a804
commit
e8182714bd
2 changed files with 2 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue