Private
Public Access
1
0

plumb all known attachments via dbus if known

This commit is contained in:
2025-06-06 16:28:29 -07:00
parent 2e55f3ac9e
commit 77e1078d6a
10 changed files with 368 additions and 54 deletions

View File

@@ -65,8 +65,16 @@
'text' (string): Message body text
'date' (int64): Message timestamp
'sender' (string): Sender display name
'file_transfer_guids' (string, optional): JSON array of file transfer GUIDs
'attachment_metadata' (string, optional): JSON string of attachment metadata"/>
'attachments' (array of dictionaries): List of attachments
'guid' (string): Attachment GUID
'path' (string): Attachment path
'preview_path' (string): Preview attachment path
'downloaded' (boolean): Whether the attachment is downloaded
'preview_downloaded' (boolean): Whether the preview is downloaded
'metadata' (dictionary, optional): Attachment metadata
'attribution_info' (dictionary, optional): Attribution info
'width' (int32, optional): Width
'height' (int32, optional): Height"/>
</arg>
</method>
@@ -116,7 +124,7 @@
<arg type="s" name="attachment_id"/>
<arg type="s" name="file_path"/>
<arg type="b" name="preview"/>
<annotation name="org.freedesktop.DBus.DocString"
value="Emitted when an attachment download completes successfully."/>
</signal>