Chore: Remove control character from room model operation (#21493)

pull/21514/head
pierre-lehnen-rc 4 years ago committed by GitHub
parent d8a24b044e
commit 157b882d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/server/models/Rooms.js

@ -1183,7 +1183,7 @@ export class Rooms extends Base {
const query = { _id };
const update = {
[value === true ? '$set' : '$unset']: {
[value === true ? '$set' : '$unset']: {
'retention.ignoreThreads': true,
},
};

Loading…
Cancel
Save