@ -49,6 +49,14 @@
</tr>
<?php foreach ($rooms as $id => $room): ?>
<?php
if ($room->read) {
// Skip unreadable rooms.
// While not necessary, this hack can later allow SOGS
// to pass server-wide info using hidden dummy rooms.
continue;
}
$pubkey = $room->server->get_pubkey();
$icon_hue = hexdec($pubkey[2] . $pubkey[2]);
$icon_color = "hsl($icon_hue, 80%, 50%)";