Private
Public Access
1
0

better d-bus interface for attachments

This commit is contained in:
2025-05-26 16:19:26 -07:00
parent 831e490eb4
commit 2b5df53cc3
5 changed files with 88 additions and 53 deletions

View File

@@ -62,6 +62,12 @@ pub enum Event {
/// - reply: Reply of the attachment object, if known.
GetAttachment(String, Reply<Attachment>),
/// Downloads an attachment from the server.
/// Parameters:
/// - attachment_id: The attachment ID to download
/// - reply: Reply indicating success or failure
DownloadAttachment(String, Reply<()>),
/// Delete all conversations from the database.
DeleteAllConversations(Reply<()>),
}