Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode

This commit is contained in:
Benoit Marty
2023-03-31 10:15:51 +02:00
committed by Benoit Marty
parent c1f80cda80
commit eaff43de3a
7 changed files with 85 additions and 46 deletions

View File

@@ -16,15 +16,19 @@
package io.element.android.libraries.push.api
import io.element.android.libraries.matrix.api.core.UserId
import io.element.android.libraries.matrix.api.MatrixClient
interface PushService {
// TODO EAx remove
fun setCurrentRoom(roomId: String?)
// TODO EAx remove
fun setCurrentThread(threadId: String?)
fun notificationStyleChanged()
// Ensure pusher is registered
suspend fun registerPusher(userId: UserId)
suspend fun registerPusher(matrixClient: MatrixClient)
suspend fun testPush()
}