From 0b92ee2a113ca8da2d3a4d4b06056f291738b5fe Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 25 Mar 2026 19:19:29 +0100 Subject: Fix wrongly using message ids for MUC corrections; store original message db ids --- plugins/http-files/src/file_sender.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/http-files') 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(); 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); -- cgit v1.3