V10 (#2826)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * Update CHANGELOG.md * wip * Update CHANGELOG.md * wip * wip * wip * wip
This commit is contained in:
@@ -72,7 +72,10 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
||||
$inc: inc
|
||||
});
|
||||
|
||||
publishNoteStream(note._id, 'poll_voted');
|
||||
publishNoteStream(note._id, 'pollVoted', {
|
||||
choice: choice,
|
||||
userId: user._id.toHexString()
|
||||
});
|
||||
|
||||
// Notify
|
||||
notify(note.userId, user._id, 'poll_vote', {
|
||||
|
Reference in New Issue
Block a user