Skip to content

Commit

Permalink
[del]Socket 필요없는 코드 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed May 23, 2024
1 parent 0063042 commit f848269
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public MessageSuccessResponse sendChatMessageInRoom(@DestinationVariable("roomNa
@RequestBody final ChatMessageRoomRequestDto chatMessageRoomRequestDto) throws IOException {
return MessageSuccessResponse.of(MessageSuccessCode.RECEIVED, chatService.createSendMessageContentInRoom(roomName, chatMessageRoomRequestDto).getMessage());
}
@MessageMapping("/room/image/{roomName}")
@SendTo("/sub/room/{roomName}")
public MessageSuccessResponse sendImageMessageInRoom(@DestinationVariable("roomName") final String roomName,
@RequestBody final ChatMessageRoomRequestDto chatMessageRoomRequestDto) throws IOException {
return MessageSuccessResponse.of(MessageSuccessCode.RECEIVED, chatService.createSendMessageContentInRoom(roomName, chatMessageRoomRequestDto).getMessage());
}
// @MessageMapping("/room/image/{roomName}")
// @SendTo("/sub/room/{roomName}")
// public MessageSuccessResponse sendImageMessageInRoom(@DestinationVariable("roomName") final String roomName,
// @RequestBody final ChatMessageRoomRequestDto chatMessageRoomRequestDto) throws IOException {
// return MessageSuccessResponse.of(MessageSuccessCode.RECEIVED, chatService.createSendMessageContentInRoom(roomName, chatMessageRoomRequestDto).getMessage());
// }
// @MessageMapping("/room/image/{roomName}")
// @SendTo("/sub/room/{roomName}")
// public MessageSuccessResponse sendImageMessageInRoom(@DestinationVariable("roomName") final String roomName,
Expand Down

0 comments on commit f848269

Please sign in to comment.