一对一聊天重构,期待群聊开发
This commit is contained in:
@@ -73,7 +73,6 @@ public class WebSocketServer {
|
||||
String userId = jsonObject.getString("userId");
|
||||
String type = jsonObject.getString("type");
|
||||
if (type.equals(MessageType.CHAT.getType())) {
|
||||
log.debug("聊天消息推送");
|
||||
sendToUser(userId, JSONObject.toJSONString(jsonObject));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user