Making progress on notification for multi account.
This commit is contained in:
committed by
Benoit Marty
parent
6aeb94fa15
commit
7e7e798acf
-6
@@ -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
|
||||
|
||||
+1
@@ -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