From 6322365d9018c4c24626e23b807f1c2cda3c6acb Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 7 Mar 2026 09:36:56 +0100 Subject: Fix setting 'to' attribute in reply stanza fixes #1822 --- libdino/src/service/message_processor.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdino') diff --git a/libdino/src/service/message_processor.vala b/libdino/src/service/message_processor.vala index 51fe1808..676daa72 100644 --- a/libdino/src/service/message_processor.vala +++ b/libdino/src/service/message_processor.vala @@ -425,9 +425,9 @@ public class MessageProcessor : StreamInteractionModule, Object { if (message.quoted_item_id != 0) { ContentItem? quoted_content_item = stream_interactor.get_module(ContentItemStore.IDENTITY).get_item_by_id(conversation, message.quoted_item_id); if (quoted_content_item != null) { - Jid? quoted_sender = message.from; + Jid quoted_sender = quoted_content_item.jid; string? quoted_stanza_id = stream_interactor.get_module(ContentItemStore.IDENTITY).get_message_id_for_content_item(conversation, quoted_content_item); - if (quoted_sender != null && quoted_stanza_id != null) { + if (quoted_stanza_id != null) { Xep.Replies.set_reply_to(new_message, new Xep.Replies.ReplyTo(quoted_sender, quoted_stanza_id)); } -- cgit v1.3