diff --git a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/notifications/PushNotificationAPI.kt b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/notifications/PushNotificationAPI.kt index d9e4293cf..32bd17c8c 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/notifications/PushNotificationAPI.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/notifications/PushNotificationAPI.kt @@ -52,11 +52,11 @@ object PushNotificationAPI { retryIfNeeded(maxRetryCount) { OnionRequestAPI.sendOnionRequest(request, legacyServer, legacyServerPublicKey, Version.V2).map { response -> when (response.info["code"]) { - null, 0 -> Log.d(TAG, "Couldn't disable FCM due to error: ${response.info["message"]}.") + null, 0 -> Log.d(TAG, "Couldn't disable FCM with token: $token due to error: ${response.info["message"]}.") else -> Log.d(TAG, "unregisterV1 success token: $token") } }.fail { exception -> - Log.d(TAG, "Couldn't disable FCM due to error: ${exception}.") + Log.d(TAG, "Couldn't disable FCM with token: $token due to error: ${exception}.") } } }