Browse Source

Allow changelog-convo to be a read-only convo

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/1616/head
Joas Schilling 7 years ago
parent
commit
d991e993aa
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 2
      lib/Room.php

2
lib/Room.php

@ -468,7 +468,7 @@ class Room {
return true;
}
if (!in_array($this->getType(), [self::GROUP_CALL, self::PUBLIC_CALL], true)) {
if (!in_array($this->getType(), [self::GROUP_CALL, self::PUBLIC_CALL, self::CHANGELOG_CONVERSATION], true)) {
return false;
}

Loading…
Cancel
Save