Hide #unlisted rooms

dev
gravel 7 months ago
parent 6304343441
commit 231c9621ac
Signed by: gravel
GPG Key ID: C0538F3C906B308F

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

Loading…
Cancel
Save