From 11a46024306a5e226412bc08c2aa50c78d8af611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 1 Mar 2014 21:37:03 +0100 Subject: [PATCH] Fix nodePush on room changes Without this change temprooms could show up in the roomlist before the proper permissions were set. --- file/lib/data/room/RoomEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/room/RoomEditor.class.php b/file/lib/data/room/RoomEditor.class.php index e5a15a5..b85701a 100644 --- a/file/lib/data/room/RoomEditor.class.php +++ b/file/lib/data/room/RoomEditor.class.php @@ -61,6 +61,6 @@ public static function deleteAll(array $objectIDs = array()) { public static function resetCache() { \chat\system\cache\builder\RoomCacheBuilder::getInstance()->reset(); \chat\system\cache\builder\PermissionCacheBuilder::getInstance()->reset(); - \wcf\system\nodePush\NodePushHandler::getInstance()->sendMessage('be.bastelstu.chat.roomChange'); + \wcf\system\nodePush\NodePushHandler::getInstance()->sendDeferredMessage('be.bastelstu.chat.roomChange'); } }