You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sliding sync returns the first response with initial: false. Not only it's incorrect, but if initial is not true, other data won't be attached, like joined_count or invite_count (and maybe others).
There is an error from the client stack. The top-level initial value doesn't exist in the MSC4186, but is expected on the client side, which defaults to false if absent.
The joined_count is missing because the server doesn't want to leak too much data about non-joined rooms. I've commented the MSC accordingly. We can update our test suite on the Matrix Rust SDK side.
Description
Sliding sync returns the first response with
initial: false
. Not only it's incorrect, but ifinitial
is nottrue
, other data won't be attached, likejoined_count
orinvite_count
(and maybe others).Steps to reproduce
git clone https://github.com/matrix-org/matrix-rust-sdk
#[ignore]
intesting/matrix-sdk-integration-testing/src/tests/sliding_sync/notification_client.rs
on top of thetest_notification
method,cd testing/matrix-sdk-integration-testing/ && docker compose -f assets/docker-compose.yml up -d && cd -
cargo nextest run --retries 0 --fail-fast -p matrix-sdk-integration-testing -- sliding_sync::notification_client
Homeserver
local, synapse v1.114
Synapse Version
1.114
Installation Method
Docker (matrixdotorg/synapse)
Database
postgresql I suppose
Workers
I don't know
Platform
container on macOS
Configuration
No response
Relevant log output
The text was updated successfully, but these errors were encountered: