Skip to content

Commit

Permalink
Fix missing mention notification for chat messages (#6429)
Browse files Browse the repository at this point in the history
Signed-off-by: Kristina Fefelova <[email protected]>
  • Loading branch information
kristina-fefelova authored Aug 28, 2024
1 parent 2273d99 commit 0233e31
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions models/server-activity/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 0233e31

Please sign in to comment.