mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 收到站内消息是增加提醒 (#86)
This commit is contained in:
1 parent
fb47598c57
commit
6cae5cb7d1
10 files changed
+62
-67
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user