Fix missing direct for companion (#5686)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-05-28 19:57:09 +05:00
committed by GitHub
parent 619939b2a5
commit 4c02a5eb2c
2 changed files with 2 additions and 2 deletions
@@ -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,
@@ -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,