mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-02 14:29:03 +02:00
Fix missing mention notification for chat messages (#6429)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user