Skip to content

Commit

Permalink
#199 fix: ChatRoom 내 sessions에 @transient 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
psyeon1120 committed Apr 12, 2023
1 parent 47e1dc8 commit 0f327a4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class ChatRoom extends BaseEntity {
@JoinColumn(nullable = false, name = "userIdx")
private User user;

@Transient
private Set<WebSocketSession> sessions = new HashSet<>();

public static ChatRoom create(User store, User user){
Expand Down

0 comments on commit 0f327a4

Please sign in to comment.