diff --git a/src/socket.io/user/picture.js b/src/socket.io/user/picture.js index 0d8a57dd24..eded1102c9 100644 --- a/src/socket.io/user/picture.js +++ b/src/socket.io/user/picture.js @@ -101,7 +101,7 @@ module.exports = function (SocketUser) { }, next); }, function (next) { - plugins.fireHook('action:user.removeUploadedPicture', {callerUid: socket.uid, uid: data.uid}); + plugins.fireHook('action:user.removeUploadedPicture', {callerUid: socket.uid, uid: data.uid}, next); } ], callback); };