Add Result + Dispatcher on SDK call.
This commit is contained in:
parent
6e4b1cd958
commit
b27f6c6594
4 changed files with 30 additions and 20 deletions
|
|
@ -20,5 +20,5 @@ import io.element.android.libraries.matrix.api.pusher.PushersService
|
|||
import io.element.android.libraries.matrix.api.pusher.SetHttpPusherData
|
||||
|
||||
class FakePushersService : PushersService {
|
||||
override fun setHttpPusher(setHttpPusherData: SetHttpPusherData) = Unit
|
||||
override suspend fun setHttpPusher(setHttpPusherData: SetHttpPusherData) = Result.success(Unit)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue