cargo fmt
This commit is contained in:
@@ -150,7 +150,8 @@ impl Daemon {
|
||||
}
|
||||
|
||||
// Attachment store
|
||||
let mut attachment_store = AttachmentStore::new(self.database.clone(), self.event_sender.clone());
|
||||
let mut attachment_store =
|
||||
AttachmentStore::new(self.database.clone(), self.event_sender.clone());
|
||||
self.attachment_store_sink = Some(attachment_store.get_event_sink());
|
||||
tokio::spawn(async move {
|
||||
attachment_store.run().await;
|
||||
@@ -304,7 +305,10 @@ impl Daemon {
|
||||
self.attachment_store_sink
|
||||
.as_ref()
|
||||
.unwrap()
|
||||
.send(AttachmentStoreEvent::QueueDownloadAttachment(attachment_id, preview))
|
||||
.send(AttachmentStoreEvent::QueueDownloadAttachment(
|
||||
attachment_id,
|
||||
preview,
|
||||
))
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user