Revert change (Valere's review)
This commit is contained in:
parent
7a2454d816
commit
d1b6cff663
@ -139,7 +139,7 @@ class DevicesViewModel @AssistedInject constructor(
|
|||||||
session.rx().liveUserCryptoDevices(session.myUserId)
|
session.rx().liveUserCryptoDevices(session.myUserId)
|
||||||
.map { it.size }
|
.map { it.size }
|
||||||
.distinctUntilChanged()
|
.distinctUntilChanged()
|
||||||
.throttleFirst(5_000, TimeUnit.MILLISECONDS)
|
.throttleLast(5_000, TimeUnit.MILLISECONDS)
|
||||||
.subscribe {
|
.subscribe {
|
||||||
// If we have a new crypto device change, we might want to trigger refresh of device info
|
// If we have a new crypto device change, we might want to trigger refresh of device info
|
||||||
session.cryptoService().fetchDevicesList(NoOpMatrixCallback())
|
session.cryptoService().fetchDevicesList(NoOpMatrixCallback())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user