action:user.removeUploadedPicture

v1.18.x
barisusakli 8 years ago
parent dd9e286633
commit 37bb6e9b6d

@ -99,6 +99,9 @@ module.exports = function (SocketUser) {
uploadedpicture: '', uploadedpicture: '',
picture: userData.uploadedpicture === userData.picture ? '' : userData.picture // if current picture is uploaded picture, reset to user icon picture: userData.uploadedpicture === userData.picture ? '' : userData.picture // if current picture is uploaded picture, reset to user icon
}, next); }, next);
},
function (next) {
plugins.fireHook('action:user.removeUploadedPicture', {callerUid: socket.uid, uid: data.uid});
} }
], callback); ], callback);
}; };

Loading…
Cancel
Save