Browse Source

fix total attribute

main
ghost 10 months ago
parent
commit
b4a9dac3d9
  1. 2
      src/Controller/RoomController.php

2
src/Controller/RoomController.php

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

Loading…
Cancel
Save