mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
@@ -58,6 +58,9 @@
|
||||
},
|
||||
(res) => {
|
||||
channel = res[0]
|
||||
if (channel !== undefined) {
|
||||
notificationClient.forceRead(channel._id, channel._class)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
@@ -77,9 +80,6 @@
|
||||
|
||||
async function selectHandler (e: CustomEvent): Promise<void> {
|
||||
currentMessage = e.detail
|
||||
if (channel !== undefined) {
|
||||
await notificationClient.read(channel._id)
|
||||
}
|
||||
}
|
||||
|
||||
const settingsQuery = createQuery()
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
},
|
||||
objectId
|
||||
)
|
||||
await notificationClient.read(channel._id)
|
||||
await notificationClient.forceRead(channel._id, channel._class)
|
||||
objectId = generateId()
|
||||
dispatch('close')
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
.map((m) => m.trim())
|
||||
.filter((m) => m.length)
|
||||
})
|
||||
await notificationClient.read(channel._id)
|
||||
await notificationClient.forceRead(channel._id, channel._class)
|
||||
for (const attachment of attachments) {
|
||||
await client.addCollection(
|
||||
attachmentP.class.Attachment,
|
||||
|
||||
Reference in New Issue
Block a user