1
0
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:
Tim Düsterhus 2014-08-14 19:12:02 +02:00
commit 1a3ab20b6a

View File

@ -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) {