From cad89730957aae7c8595b1404db14181a331ecc9 Mon Sep 17 00:00:00 2001 From: gravel Date: Sat, 23 Dec 2023 09:53:01 +0000 Subject: [PATCH] fix: show write-only rooms --- php/servers/servers-rooms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/servers/servers-rooms.php b/php/servers/servers-rooms.php index c511329..54098a9 100644 --- a/php/servers/servers-rooms.php +++ b/php/servers/servers-rooms.php @@ -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); }