mirror of
https://github.com/kevachat/webapp.git
synced 2025-02-08 12:54:14 +00:00
fix total attribute
This commit is contained in:
parent
8042fa9d8e
commit
b4a9dac3d9
@ -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…
x
Reference in New Issue
Block a user