Message queuing : exposes enableSendingQueue method

This commit is contained in:
ganfra 2024-06-05 16:44:06 +02:00
parent 8e6695c65d
commit 0aa3b23677
3 changed files with 24 additions and 0 deletions

View file

@ -551,6 +551,10 @@ class RustMatrixClient(
}.distinctUntilChanged()
}
override suspend fun enableSendingQueue(enable: Boolean) = withContext(sessionDispatcher){
client.enableSendingQueue(enable)
}
private suspend fun File.getCacheSize(
includeCryptoDb: Boolean = false,
): Long = withContext(sessionDispatcher) {
@ -590,6 +594,9 @@ class RustMatrixClient(
true
}
}
}
private val defaultRoomCreationPowerLevels = PowerLevels(