aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/content_item_store.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-01-25 19:42:19 +0100
committerfiaxh <git@lightrise.org>2023-01-25 19:42:19 +0100
commit26be9d4bb40b223cb8a657b03e6457988a8cc269 (patch)
tree155d140d5a63ef6a24185bf9ff9e967fb714dcb0 /libdino/src/service/content_item_store.vala
parente35df88d4a00c3a34f2b4d9fb7f10bb5d877bd29 (diff)
downloaddino-26be9d4bb40b223cb8a657b03e6457988a8cc269.tar.gz
dino-26be9d4bb40b223cb8a657b03e6457988a8cc269.zip
Fix reactions from MAM getting attributed to the wrong message
Diffstat (limited to 'libdino/src/service/content_item_store.vala')
-rw-r--r--libdino/src/service/content_item_store.vala2
1 files changed, 1 insertions, 1 deletions
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;