From 26be9d4bb40b223cb8a657b03e6457988a8cc269 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 25 Jan 2023 19:42:19 +0100 Subject: Fix reactions from MAM getting attributed to the wrong message --- libdino/src/service/content_item_store.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdino/src/service/content_item_store.vala') diff --git a/libdino/src/service/content_item_store.vala b/libdino/src/service/content_item_store.vala index c3d9d006..740dc2a9 100644 --- a/libdino/src/service/content_item_store.vala +++ b/libdino/src/service/content_item_store.vala @@ -139,7 +139,7 @@ public class ContentItemStore : StreamInteractionModule, Object { return message.from; } - private Message? get_message_for_content_item(Conversation conversation, ContentItem content_item) { + public Message? get_message_for_content_item(Conversation conversation, ContentItem content_item) { FileItem? file_item = content_item as FileItem; if (file_item != null) { if (file_item.file_transfer.provider != 0 || file_item.file_transfer.info == null) return null; -- cgit v1.2.3-70-g09d2