Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34

Feature/fga/update rust sdk 0.1.34
This commit is contained in:
ganfra 2023-07-18 22:52:48 +02:00 committed by GitHub
commit 9741b3df64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 55 additions and 77 deletions

View file

@ -95,9 +95,7 @@ interface MatrixRoom : Closeable {
suspend fun leave(): Result<Unit>
suspend fun acceptInvitation(): Result<Unit>
suspend fun rejectInvitation(): Result<Unit>
suspend fun join(): Result<Unit>
suspend fun inviteUserById(id: UserId): Result<Unit>

View file

@ -22,7 +22,7 @@ interface SyncService {
/**
* Tries to start the sync. If already syncing it has no effect.
*/
fun startSync(): Result<Unit>
suspend fun startSync(): Result<Unit>
/**
* Tries to stop the sync. If service is not syncing it has no effect.