Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: send groupId with mediaAttachmentDownloaded event

thecodrrecf716039c93
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.js
index c2990511d..c96c7214d 100644
--- a/packages/core/collections/attachments.js
+++ b/packages/core/collections/attachments.js
@@ -195,6 +195,7 @@ export default class Attachments extends Collection {
if (!src) return;
EV.publish(EVENTS.mediaAttachmentDownloaded, {
+ groupId,
hash,
src,
});