mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
UnifiedPush: unregister the application using the correct instance.
This commit is contained in:
committed by
Benoit Marty
parent
5d8d399b09
commit
9f5a8a3497
+1
-1
@@ -41,7 +41,7 @@ class DefaultUnregisterUnifiedPushUseCase @Inject constructor(
|
|||||||
.onSuccess {
|
.onSuccess {
|
||||||
unifiedPushStore.storeUpEndpoint(clientSecret, null)
|
unifiedPushStore.storeUpEndpoint(clientSecret, null)
|
||||||
unifiedPushStore.storePushGateway(clientSecret, null)
|
unifiedPushStore.storePushGateway(clientSecret, null)
|
||||||
UnifiedPush.unregisterApp(context)
|
UnifiedPush.unregisterApp(context, clientSecret)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user