mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-22 20:44:59 +00:00
skip system namespaces in the room list
This commit is contained in:
parent
7550d8fd82
commit
e32f7ce70f
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user