skip system namespaces in the room list

This commit is contained in:
ghost 2023-12-18 07:11:25 +02:00
parent 7550d8fd82
commit e32f7ce70f

View File

@ -59,6 +59,12 @@ class RoomController extends AbstractController
foreach ((array) $client->kevaListNamespaces() as $value) foreach ((array) $client->kevaListNamespaces() as $value)
{ {
// Skip system namespaces
if (str_starts_with($value['displayName'], '_'))
{
continue;
}
// Calculate room totals // Calculate room totals
$total = 0; $total = 0;