core: support mention notification

This commit is contained in:
undefined committed 2021-09-20 22:42:24 +08:00
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();
};