Skip to content

Commit

Permalink
๐Ÿš€ :: v0.1.5-2
Browse files Browse the repository at this point in the history
๐Ÿš€ :: v0.1.5-2
  • Loading branch information
ImNM authored Dec 30, 2022
2 parents 79c02ac + 47dc968 commit 16c72ca
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 16c72ca

Please sign in to comment.