mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Merge branch '3.0.x'
This commit is contained in:
commit
1a3ab20b6a
@ -25,6 +25,8 @@ public function getMessage() {
|
|||||||
$rooms = \chat\data\room\RoomCache::getInstance()->getRooms();
|
$rooms = \chat\data\room\RoomCache::getInstance()->getRooms();
|
||||||
|
|
||||||
foreach ($rooms as $room) {
|
foreach ($rooms as $room) {
|
||||||
|
if (!$room->canEnter()) continue;
|
||||||
|
|
||||||
$users = $room->getUsers();
|
$users = $room->getUsers();
|
||||||
$tmp = array();
|
$tmp = array();
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
|
Loading…
Reference in New Issue
Block a user