fix: show write-only rooms

dev
gravel 6 months 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. * Returns true if room should not be reflected in listings.
*/ */
public function is_off_record(): bool { public function is_off_record(): bool {
return !$this->read return (!$this->read && !$this->write)
|| $this->is_testing_room() || $this->is_testing_room()
|| in_array("unlisted", $this->string_tags); || in_array("unlisted", $this->string_tags);
} }

Loading…
Cancel
Save