Appena confermo la Registrazione, setto l'Amicizia in automatico.
This commit is contained in:
@@ -1389,8 +1389,7 @@ UserSchema.statics.removeReqFriend = async function(
|
||||
{$pull: {'profile.req_friends': {username: {$in: [usernameDest]}}}});
|
||||
};
|
||||
|
||||
UserSchema.statics.setFriendsCmd = async function(
|
||||
idapp, usernameOrig, usernameDest, cmd, value) {
|
||||
UserSchema.statics.setFriendsCmd = async function(idapp, usernameOrig, usernameDest, cmd, value) {
|
||||
|
||||
let ris = null;
|
||||
let update = {};
|
||||
|
||||
Reference in New Issue
Block a user