UnifiedPush: unregister the application using the correct instance.

This commit is contained in:
Benoit Marty 2024-11-15 10:27:39 +01:00 committed by Benoit Marty
parent 5d8d399b09
commit 9f5a8a3497

View file

@ -41,7 +41,7 @@ class DefaultUnregisterUnifiedPushUseCase @Inject constructor(
.onSuccess {
unifiedPushStore.storeUpEndpoint(clientSecret, null)
unifiedPushStore.storePushGateway(clientSecret, null)
UnifiedPush.unregisterApp(context)
UnifiedPush.unregisterApp(context, clientSecret)
}
}
}