Making progress on notification for multi account.
This commit is contained in:
committed by
Benoit Marty
parent
3d1823064d
commit
0c0f7dff40
@@ -19,12 +19,6 @@ package io.element.android.libraries.push.api
|
||||
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
|
||||
|
||||
@@ -22,6 +22,7 @@ import kotlinx.coroutines.flow.Flow
|
||||
interface PushDataStore {
|
||||
val pushCounterFlow: Flow<Int>
|
||||
|
||||
// TODO Move all those settings to the per user store...
|
||||
fun areNotificationEnabledForDevice(): Boolean
|
||||
fun setNotificationEnabledForDevice(enabled: Boolean)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user