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

Fixup "Fix chat room pruning"

This commit is contained in:
Tim Düsterhus 2014-10-18 21:48:33 +02:00
parent 47bce1e4aa
commit 9ad0c840a6

View File

@ -247,7 +247,7 @@ public function join() {
\wcf\system\user\activity\point\UserActivityPointHandler::getInstance()->fireEvent('be.bastelstu.chat.activityPointEvent.join', $result, WCF::getUser()->userID);
// send push message about join
\wcf\system\push\PushHandler::getInstance()->sendMessage('be.bastelstu.chat.join');
\wcf\system\nodePush\NodePushHandler::getInstance()->sendMessage('be.bastelstu.chat.join');
$messages = array();
foreach ($newestMessages as $message) $messages[] = $message->jsonify(true);
@ -314,7 +314,7 @@ public function leave() {
'chatRoomID' => null
));
\wcf\system\push\PushHandler::getInstance()->sendMessage('be.bastelstu.chat.leave');
\wcf\system\nodePush\NodePushHandler::getInstance()->sendMessage('be.bastelstu.chat.leave');
}
/**