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

Loading…
Cancel
Save