correctly passes the endpoint to remove it

This commit is contained in:
Vitor Pamplona 2024-08-27 17:40:35 -04:00
parent 52f33d79e0
commit 6ac1db9fc8

View File

@ -115,7 +115,7 @@ class PushMessageReceiver : MessagingReceiver() {
context: Context,
instance: String,
) {
val removedEndpoint = pushHandler.endpoint
val removedEndpoint = pushHandler.getSavedEndpoint()
Log.d(TAG, "Endpoint: $removedEndpoint removed for Instance: $instance")
Log.d(TAG, "App is unregistered. ")
pushHandler.forceRemoveDistributor(context)