Skip to content

Commit 8cf4c7d

Browse files
committed
fixup! feat(ffi): expose media upload progress through EventSendState::NotSentYet
1 parent 10585e7 commit 8cf4c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/matrix-sdk-ffi/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ pub struct AbstractProgress {
241241
pub total: u64,
242242
}
243243

244-
impl From<matrix_sdk::AbstractProgress> for AbstractProgress {
245-
fn from(value: matrix_sdk::AbstractProgress) -> Self {
244+
impl From<matrix_sdk::send_queue::AbstractProgress> for AbstractProgress {
245+
fn from(value: matrix_sdk::send_queue::AbstractProgress) -> Self {
246246
Self {
247247
current: value.current.try_into().unwrap_or(u64::MAX),
248248
total: value.total.try_into().unwrap_or(u64::MAX),

0 commit comments

Comments
 (0)