Merge pull request #11617 from sunhoww/patch-1

fix: show unique users during viewing/typing notify
This commit is contained in:
mergify[bot] 2020-10-01 04:07:59 +00:00 committed by GitHub
commit 75c15633f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -407,6 +407,6 @@ function send_users(args, action) {
io.to(open_doc_room).emit(emit_event, {
doctype: args.doctype,
docname: args.docname,
users: users
users: Array.from(new Set(users))
});
}