mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 18:05:59 +03:00
Revert change (Valere's review)
This commit is contained in:
parent
7a2454d816
commit
d1b6cff663
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class DevicesViewModel @AssistedInject constructor(
|
|||
session.rx().liveUserCryptoDevices(session.myUserId)
|
||||
.map { it.size }
|
||||
.distinctUntilChanged()
|
||||
.throttleFirst(5_000, TimeUnit.MILLISECONDS)
|
||||
.throttleLast(5_000, TimeUnit.MILLISECONDS)
|
||||
.subscribe {
|
||||
// If we have a new crypto device change, we might want to trigger refresh of device info
|
||||
session.cryptoService().fetchDevicesList(NoOpMatrixCallback())
|
||||
|
|
Loading…
Reference in a new issue