This commit is contained in:
syuilo 2018-06-02 16:01:32 +09:00
parent 8dfd892b71
commit 4feff8835c
6 changed files with 27 additions and 18 deletions

View file

@ -99,7 +99,7 @@ module.exports = async (params, user, app) => new Promise(async (res, rej) => {
res(iObj);
// Publish i updated event
event(user._id, 'i_updated', iObj);
event(user._id, 'meUpdated', iObj);
// 鍵垢を解除したとき、溜まっていたフォローリクエストがあるならすべて承認
if (user.isLocked && isLocked === false) {