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:
Ivan Enderlin
2024-08-12 11:57:07 +02:00
parent 0b9e07a386
commit 704fe6719f

View File

@@ -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;