1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix nodePush on room changes

Without this change temprooms could show up in the roomlist before the proper permissions were set.
This commit is contained in:
Tim Düsterhus 2014-03-01 21:37:03 +01:00
parent 2960959716
commit 11a4602430

View File

@ -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');
}
}