We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b2e54 commit e2af4ccCopy full SHA for e2af4cc
bindings/matrix-sdk-ffi/src/sliding_sync.rs
@@ -213,9 +213,9 @@ impl SlidingSyncRoom {
213
settings: Option<RoomSubscription>,
214
) -> Result<SlidingSyncSubscribeResult, ClientError> {
215
let (items, mut stoppable_spawn) = self.add_timeline_listener_inner(listener)?;
216
- let room_id = self.inner.room_id().clone();
+ let room_id = self.inner.room_id().to_owned();
217
218
- self.runner.subscribe(room_id.clone(), settings.map(Into::into))?;
+ self.runner.subscribe(room_id.to_owned().clone(), settings.map(Into::into))?;
219
220
let runner = self.runner.clone();
221
stoppable_spawn.set_finalizer(Box::new(move || runner.unsubscribe(room_id).unwrap()));
0 commit comments