diff options
| author | fiaxh <git@lightrise.org> | 2026-03-25 19:19:29 +0100 |
|---|---|---|
| committer | fiaxh <git@lightrise.org> | 2026-03-25 19:20:26 +0100 |
| commit | 0b92ee2a113ca8da2d3a4d4b06056f291738b5fe (patch) | |
| tree | e1279162ba45c66397d0ef0b9f3ad4ffda055c50 /plugins/http-files | |
| parent | cf352dbf57add6e038fc919172bb5d32fb5f775f (diff) | |
Fix wrongly using message ids for MUC corrections; store original message db ids
Diffstat (limited to 'plugins/http-files')
| -rw-r--r-- | plugins/http-files/src/file_sender.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http-files/src/file_sender.vala b/plugins/http-files/src/file_sender.vala index ad92a3a0..7e48d211 100644 --- a/plugins/http-files/src/file_sender.vala +++ b/plugins/http-files/src/file_sender.vala @@ -79,7 +79,7 @@ public class HttpFileSender : FileSender, Object { Xep.OutOfBandData.add_url_to_message(stanza, send_data.url_down); var sources = new ArrayList<Xep.StatelessFileSharing.Source>(); sources.add(new Xep.StatelessFileSharing.HttpSource() { url = send_data.url_down }); - string attach_to_id = MessageStorage.get_reference_id(file_share_message); + string attach_to_id = stream_interactor.get_module(MessageStorage.IDENTITY).get_reference_id(file_share_message, conversation); Xep.StatelessFileSharing.set_sfs_attachment(stanza, attach_to_id, file_transfer.file_sharing_id, sources); var stream = stream_interactor.get_stream(conversation.account); |
