Message queuing : branches the enable sending queue mechanism.
This commit is contained in:
parent
7100a9d619
commit
026a2cd33a
5 changed files with 74 additions and 4 deletions
|
|
@ -552,8 +552,9 @@ class RustMatrixClient(
|
|||
}.distinctUntilChanged()
|
||||
}
|
||||
|
||||
override suspend fun enableSendingQueue(enable: Boolean) = withContext(sessionDispatcher) {
|
||||
client.enableSendingQueue(enable)
|
||||
override suspend fun setSendingQueueEnabled(enabled: Boolean) = withContext(sessionDispatcher) {
|
||||
Timber.i("setSendingQueueEnabled($enabled)")
|
||||
client.enableSendingQueue(enabled)
|
||||
}
|
||||
|
||||
override fun sendingQueueStatus(): StateFlow<Boolean> = mxCallbackFlow {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue