init
This commit is contained in:
@@ -7,4 +7,13 @@ public class WsToken {
|
||||
private Long roomId;
|
||||
private Long fromUid;
|
||||
private Long toUid;
|
||||
private Long userId;
|
||||
|
||||
public boolean isCall(){
|
||||
return userId.equals(fromUid);
|
||||
}
|
||||
|
||||
public boolean isReceive(){
|
||||
return userId.equals(toUid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user