From 21a6256ce0dee6355aea03d45eac3b8897d6e312 Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 26 Jan 2023 15:20:49 +0900 Subject: [PATCH] =?UTF-8?q?#108=20feat:=20=ED=81=B4=EB=A6=BD=EB=B3=B4?= =?UTF-8?q?=EB=93=9C=20=EC=83=9D=EC=84=B1=20=ED=91=B8=EC=89=AC=EC=95=8C?= =?UTF-8?q?=EB=A6=BCAPI-=EC=9E=90=EC=8B=A0=EC=9D=80=20=EC=A0=9C=EC=99=B8?= =?UTF-8?q?=20=EA=B2=80=EC=A6=9D=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/board/service/clipboard/ClipBoardServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/yogit/server/board/service/clipboard/ClipBoardServiceImpl.java b/server/src/main/java/com/yogit/server/board/service/clipboard/ClipBoardServiceImpl.java index d103be5..69aac1b 100644 --- a/server/src/main/java/com/yogit/server/board/service/clipboard/ClipBoardServiceImpl.java +++ b/server/src/main/java/com/yogit/server/board/service/clipboard/ClipBoardServiceImpl.java @@ -79,7 +79,7 @@ public ApplicationResponse 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) {