From c12afd80066f482c0edc55b6325f345c4c4af690 Mon Sep 17 00:00:00 2001 From: imndx Date: Fri, 18 Oct 2024 17:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java b/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java index f91c148..51eef9f 100644 --- a/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java +++ b/src/main/java/cn/wildfirechat/push/hm/HMPushServiceImpl.java @@ -89,7 +89,8 @@ public class HMPushServiceImpl implements HMPushService { if (pushMessage.pushMessageType == PushMessageType.PUSH_MESSAGE_TYPE_VOIP_INVITE || pushMessage.pushMessageType == PushMessageType.PUSH_MESSAGE_TYPE_VOIP_INVITE) { VoipPayload voipPayload = VoipPayload.buildAlertPayload(pushMessage); - httpPost(this.pushUrl, jwt, 10, voipPayload.toString(), 10000, 10000); + String response = httpPost(this.pushUrl, jwt, 10, voipPayload.toString(), 10000, 10000); + LOG.info("Voip Push to {} response {}", pushMessage.getDeviceToken(), response); } else { AlertPayload alertPayload = AlertPayload.buildAlertPayload(pushMessage); String response = httpPost(this.pushUrl, jwt, 0, alertPayload.toString(), 10000, 10000);