Skip to content

Commit

Permalink
πŸ› :: ν‘Έμ‰¬μ•Œλ¦Ό λŒ€μƒμž 없을 λ•Œ μ—λŸ¬ λ°œμƒλΆ€λΆ„ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
mybloom committed Dec 30, 2022
1 parent d5ba4ef commit fe99c6b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ public void sendInstance(SendInstanceRequest request) {

List<DeviceToken> deviceTokens = getDeviceTokens(request.getGroupId(), sendUserId);
List<String> tokens = getFcmTokens(deviceTokens);
if (tokens.isEmpty()) {
return;
}

fcmService.sendGroupMessage(
tokens, request.getTitle(), request.getContent(), request.getImageUrl());
Expand Down

0 comments on commit fe99c6b

Please sign in to comment.