From 79323ea8ca71cafd29b42e33eebbfa8201dcde49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lucas?= <55464917+jlucaso1@users.noreply.github.com> Date: Thu, 29 Oct 2026 14:59:41 -0300 Subject: [PATCH] test(gui): initialize merged media fields in sticker fixtures --- crates/gui/src/components/message_bubble/media.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/gui/src/components/message_bubble/media.rs b/crates/gui/src/components/message_bubble/media.rs index 83d09887..6d15fe83 100644 --- a/crates/gui/src/components/message_bubble/media.rs +++ b/crates/gui/src/components/message_bubble/media.rs @@ -1110,6 +1110,7 @@ mod tests { false, self.app.clone(), super::MediaProps { + chat_jid: "synthetic-sticker-chat@chat.invalid".into(), video_player_state: None, video_frame: None, decoded_image: self.cached.clone(), @@ -1141,6 +1142,9 @@ mod tests { direct_path: "/synthetic-sticker".into(), media_key: vec![], file_enc_sha256: vec![], + file_sha256: vec![], + static_url: None, + is_thumbnail: false, file_length: 0, mime_type: "image/webp".into(), duration_secs: None,