mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: support mention notification
This commit is contained in:
1 parent
d66c161e66
commit
ca00dda575
14 files changed
+67
-24
No files matched your search
@@ -44,7 +44,10 @@ const page = new NamedPage('home_messages', () => {
|
||||
avatar: msg.udoc.avatarUrl,
|
||||
message: msg.mdoc.content,
|
||||
duration: 15000,
|
||||
action: () => createDialog(msg.udoc),
|
||||
action: () => store.dispatch({
|
||||
type: 'DIALOGUES_SWITCH_TO',
|
||||
payload: msg.udoc._id,
|
||||
}),
|
||||
}).show();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user