style: Make "empty timeline" warning only warn in debug mode

This commit is contained in:
timedout 2026-02-23 21:36:13 +00:00
parent 123aa2456c
commit 69a08ffbf6
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F

View file

@ -272,7 +272,7 @@ async fn build_state_and_timeline(
// joined since the last sync, that being the syncing user's join event. if
// it's empty something is wrong.
if joined_since_last_sync && timeline.pdus.is_empty() {
warn!("timeline for newly joined room is empty");
debug_warn!("timeline for newly joined room is empty");
}
let (summary, device_list_updates) = try_join(