Ivan Enderlin

Results 885 comments of Ivan Enderlin

The sync indicator/spinner displayed on the app right now is provided by the `RoomListService` API. If you want another sync indicator/spinner for to-device events, it must be provided by the...

> This cache is reset in case of a gap in the timeline Why? We get gaps pretty often, what's the goal of this feature? > The room list pre-fills...

The full issue that describes all the work is https://github.com/matrix-org/matrix-rust-sdk/issues/3280.

This isn’t technically a bug. The Remove + Insert can indeed be simplified into a single Set if the index is the same. I can add this as an optimisation,...

Hmm, actually, this optimisation is already present, and even tested. The test: https://github.com/jplatte/eyeball/blob/71e0a72adc377584da78fb4c1b3ad9714a7287f4/eyeball-im-util/tests/it/sort.rs#L337-L343 The code: https://github.com/jplatte/eyeball/blob/71e0a72adc377584da78fb4c1b3ad9714a7287f4/eyeball-im-util/src/vector/sort.rs#L504-L531

Actually, it's not a bug… Taking this code: ```rust let mut ob = ObservableVector::::from(vector!['d', 'e', 'b', 'g']); let (values, mut sub) = ob.subscribe().sort_by(&|a, b| b.cmp(a)); assert_eq!(values, vector!['g', 'e', 'd', 'b']);...

OK, see https://github.com/jplatte/eyeball/pull/49 for the fix. Thanks for noticing this!

@novocaine Nothing I'm aware of except the one mentionned by @turt2live hereinabove.

Here is the meta issue for matrix-sdk-crypto-js, https://github.com/matrix-org/matrix-rust-sdk/issues/1016