diff --git a/models/server-activity/src/index.ts b/models/server-activity/src/index.ts index 3cc96079bc..f46cc9b2ab 100644 --- a/models/server-activity/src/index.ts +++ b/models/server-activity/src/index.ts @@ -57,8 +57,14 @@ export function createModel (builder: Builder): void { builder.createDoc(serverCore.class.Trigger, core.space.Model, { trigger: serverActivity.trigger.ReferenceTrigger, txMatch: { - 'tx.objectClass': { $ne: activity.class.ActivityMessage }, - objectClass: { $nin: [notification.class.InboxNotification, notification.class.DocNotifyContext] } + 'tx.objectClass': { $ne: activity.class.ActivityReference }, + objectClass: { + $nin: [ + notification.class.InboxNotification, + notification.class.DocNotifyContext, + notification.class.BrowserNotification + ] + } }, isAsync: true })