Skip to content

Commit

Permalink
具体了聊天信息类型
Browse files Browse the repository at this point in the history
  • Loading branch information
RunsTp committed Apr 19, 2018
1 parent 78f8d5c commit 84046c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Socket/Logic/WebSocket/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function checkMessage($name)
}

// TODO: 这里应当进行信息过滤防止xss攻击
$this->message = $this->messageSerialize(200, 'chat', $message);
$this->message = $this->messageSerialize(200, 'room_chat', $message);
return true;
}

Expand Down

0 comments on commit 84046c2

Please sign in to comment.