Skip to content

Commit

Permalink
#108 feat: 클립보드 생성 푸쉬알림API-자신은 제외 검증 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
xhaktmchl committed Jan 26, 2023
1 parent 4b59a4e commit 21a6256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ApplicationResponse<ClipBoardRes> createClipBoard(CreateClipBoardReq dto)
if(boardUsers!=null){
for(BoardUser bu: boardUsers){
try {
if(user.getUserStatus().equals(UserStatus.LOGIN)) apnService.createClipBoardAPN(new CreateClipBoardAPNReq(bu.getUser().getDeviceToken(), user.getName(), board.getId(), board.getTitle()));
if(user.getUserStatus().equals(UserStatus.LOGIN) && !user.equals(bu.getUser())) apnService.createClipBoardAPN(new CreateClipBoardAPNReq(bu.getUser().getDeviceToken(), user.getName(), board.getId(), board.getTitle()));
} catch (ExecutionException e) {
e.printStackTrace();
} catch (InterruptedException e) {
Expand Down

0 comments on commit 21a6256

Please sign in to comment.