fix total attribute

This commit is contained in:
ghost 2024-02-19 23:05:43 +02:00
parent 8042fa9d8e
commit b4a9dac3d9

View File

@ -92,6 +92,7 @@ class RoomController extends AbstractController
[
'namespace' => $value['namespaceId'],
'total' => $this->_total(
$client,
$value['namespaceId']
),
'pinned' => in_array(
@ -112,6 +113,7 @@ class RoomController extends AbstractController
[
'namespace' => $value['namespace'],
'total' => $this->_total(
$client,
$value['namespace']
),
'pinned' => in_array(