mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-13 06:18:52 +02:00
correctly passes the endpoint to remove it
This commit is contained in:
@ -115,7 +115,7 @@ class PushMessageReceiver : MessagingReceiver() {
|
|||||||
context: Context,
|
context: Context,
|
||||||
instance: String,
|
instance: String,
|
||||||
) {
|
) {
|
||||||
val removedEndpoint = pushHandler.endpoint
|
val removedEndpoint = pushHandler.getSavedEndpoint()
|
||||||
Log.d(TAG, "Endpoint: $removedEndpoint removed for Instance: $instance")
|
Log.d(TAG, "Endpoint: $removedEndpoint removed for Instance: $instance")
|
||||||
Log.d(TAG, "App is unregistered. ")
|
Log.d(TAG, "App is unregistered. ")
|
||||||
pushHandler.forceRemoveDistributor(context)
|
pushHandler.forceRemoveDistributor(context)
|
||||||
|
Reference in New Issue
Block a user