Skip to content

Commit

Permalink
Switch event to passive message for NodeJS support
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed May 28, 2017
1 parent e309ad8 commit e668bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e668bd0

Please sign in to comment.