mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10: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:
parent
2960959716
commit
11a4602430
@ -61,6 +61,6 @@ public static function deleteAll(array $objectIDs = array()) {
|
|||||||
public static function resetCache() {
|
public static function resetCache() {
|
||||||
\chat\system\cache\builder\RoomCacheBuilder::getInstance()->reset();
|
\chat\system\cache\builder\RoomCacheBuilder::getInstance()->reset();
|
||||||
\chat\system\cache\builder\PermissionCacheBuilder::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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user