mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-21 22:58:32 -04:00
feat(sdk): Add a log for must_process_rooms_response.
This patch adds a `trace` log for `must_process_rooms_response`. That's useful for debugging weird bugs.
This commit is contained in:
@@ -277,6 +277,8 @@ impl SlidingSync {
|
||||
|
||||
let must_process_rooms_response = self.must_process_rooms_response().await;
|
||||
|
||||
trace!(yes = must_process_rooms_response, "Must process rooms response?");
|
||||
|
||||
// Compute `limited`, if we're interested in a room list query.
|
||||
if must_process_rooms_response {
|
||||
let known_rooms = self.inner.rooms.read().await;
|
||||
|
||||
Reference in New Issue
Block a user