From e668bd003a1ff9344dbdc681d765c3e78ce3f6d1 Mon Sep 17 00:00:00 2001 From: Remdex Date: Sun, 28 May 2017 22:44:19 +0200 Subject: [PATCH] Switch event to passive message for NodeJS support --- bootstrap/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.php b/bootstrap/bootstrap.php index 96cd8ae..d02e4cf 100644 --- a/bootstrap/bootstrap.php +++ b/bootstrap/bootstrap.php @@ -191,7 +191,7 @@ public function processVisitorMessage($eventMessage) { $db->commit(); - erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.addmsguser',array('chat' => & $chat, 'msg' => & $msg)); + erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.messages_added_passive',array('chat' => & $chat, 'msg' => & $msg)); } catch (Exception $e) { $db->rollback();