Fix missing direct for companion (#5686)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-05-28 18:57:09 +04:00 committed by GitHub
parent 619939b2a5
commit 4c02a5eb2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
members: [accountId],
topic: description
})
await client.createDoc(notification.class.DocNotifyContext, core.space.Space, {
await client.createDoc(notification.class.DocNotifyContext, channelId, {
user: accountId,
attachedTo: channelId,
attachedToClass: chunter.class.Channel,

View File

@ -87,7 +87,7 @@
return
}
await client.createDoc(notification.class.DocNotifyContext, core.space.Space, {
await client.createDoc(notification.class.DocNotifyContext, dmId, {
user: myAccId,
attachedTo: dmId,
attachedToClass: chunter.class.DirectMessage,