ui: 收到站内消息是增加提醒 (#86)

This commit is contained in:
undefined committed 2021-04-05 02:32:04 +08:00
1 parent fb47598c57
commit 6cae5cb7d1
10 files changed
+62 -67

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ class MessageModel {
const udoc = await user.getById('system', to);
bus.boardcast('user/message', to, mdoc, udoc);
}
await user.inc(to, 'unreadMsg', 1);
return mdoc;
}