extend DBus signals for DbusAttachments

This change creates the DBus signals `SyncMessageReceivedV2` and `MessageReceivedV2`, as well as the new data type `DbusAttachment`.

    A DbusAttachment is a struct that contains considerably more information than the filename.

    To maintain backward compatibility, `SyncMessageReceived` and `MessageReceived` remain unchanged.

    V2 includes Mentions and DbusAttachments.

    This change also permits sending arbitrary URLs as attachment names.
This commit is contained in:
John Freed 2021-08-13 10:11:44 +02:00
parent 114b932386
commit c77b2e9511
18 changed files with 446 additions and 47 deletions

3
.gitignore vendored
View file

@ -11,3 +11,6 @@ local.properties
.settings/
out/
.DS_Store
.git/
signal-cli
bin/