mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Remove dependency on AppNavigationStateService from DefaultUnifiedPushCurrentUserPushConfigProvider
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
package io.element.android.libraries.pushproviders.api
|
||||
|
||||
data class CurrentUserPushConfig(
|
||||
data class Config(
|
||||
val url: String,
|
||||
val pushKey: String,
|
||||
)
|
||||
+1
-1
@@ -59,7 +59,7 @@ interface PushProvider {
|
||||
*/
|
||||
suspend fun onSessionDeleted(sessionId: SessionId)
|
||||
|
||||
suspend fun getCurrentUserPushConfig(): CurrentUserPushConfig?
|
||||
suspend fun getPushConfig(sessionId: SessionId): Config?
|
||||
|
||||
fun canRotateToken(): Boolean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user