matrix-sdk: Don't require Send for the sync callback.

This commit is contained in:
Damir Jelić 2020-05-29 09:29:53 +02:00
parent 16f4021800
commit 8ee6c3bdc8

View file

@ -856,7 +856,7 @@ impl Client {
pub async fn sync_forever<C>(
&self,
sync_settings: SyncSettings,
callback: impl Fn(sync_events::Response) -> C + Send,
callback: impl Fn(sync_events::Response) -> C,
) where
C: Future<Output = ()>,
{