1
0
Fork 1

fix: show write-only rooms

remotes/1715175271555336803/main
gravel 2 years ago
parent 0151bb8d63
commit cad8973095
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -237,7 +237,7 @@
* Returns true if room should not be reflected in listings.
*/
public function is_off_record(): bool {
return !$this->read
return (!$this->read && !$this->write)
|| $this->is_testing_room()
|| in_array("unlisted", $this->string_tags);
}