mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-13 02:25:51 -04:00
refactor(sdk): Un-cfg SendAttachment::with_send_progress_observable
It (now) compiles on WASM just fine.
This commit is contained in:
committed by
Jonas Platte
parent
ff5dcbf631
commit
4043f9bf5d
@@ -271,7 +271,6 @@ impl<'a> SendAttachment<'a> {
|
||||
|
||||
/// Replace the default `SharedObservable` used for tracking upload
|
||||
/// progress.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub fn with_send_progress_observable(
|
||||
mut self,
|
||||
send_progress: SharedObservable<TransmissionProgress>,
|
||||
|
||||
Reference in New Issue
Block a user