Skip to content

Commit 75d7d07

Browse files
zecakehbnjbvr
authored andcommitted
chore(ffi): Fix thumbnail size info
Signed-off-by: Kévin Commaille <[email protected]>
1 parent d4d5f45 commit 75d7d07

File tree

1 file changed

+1
-1
lines changed
  • bindings/matrix-sdk-ffi/src/timeline

1 file changed

+1
-1
lines changed

bindings/matrix-sdk-ffi/src/timeline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ fn build_thumbnail_info(
153153
.and_then(|u| UInt::try_from(u).ok())
154154
.ok_or(RoomError::InvalidAttachmentData)?;
155155
let size = thumbnail_info
156-
.width
156+
.size
157157
.and_then(|u| UInt::try_from(u).ok())
158158
.ok_or(RoomError::InvalidAttachmentData)?;
159159

0 commit comments

Comments
 (0)