aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2026-03-25 19:19:29 +0100
committerfiaxh <git@lightrise.org>2026-03-25 19:20:26 +0100
commit0b92ee2a113ca8da2d3a4d4b06056f291738b5fe (patch)
treee1279162ba45c66397d0ef0b9f3ad4ffda055c50 /plugins
parentcf352dbf57add6e038fc919172bb5d32fb5f775f (diff)
Fix wrongly using message ids for MUC corrections; store original message db ids
Diffstat (limited to 'plugins')
-rw-r--r--plugins/http-files/src/file_sender.vala2
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);