Browse Source

skip system namespaces in the room list

main
ghost 1 year ago
parent
commit
e32f7ce70f
  1. 6
      src/Controller/RoomController.php

6
src/Controller/RoomController.php

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

Loading…
Cancel
Save