- varie sistemazioni: filtri iscritti, profilo, ecc...
This commit is contained in:
@@ -2539,7 +2539,9 @@ UserSchema.statics.setFriendsCmd = async function (req, idapp, usernameOrig, use
|
||||
const msgOrig = i18n.__({ phrase, locale: user.lang }, usernameOrig);
|
||||
|
||||
await telegrambot.sendMsgTelegram(idapp, usernameOrig, msgDest);
|
||||
await telegrambot.sendMsgTelegram(idapp, usernameDest, msgOrig);
|
||||
if (phrase !== 'HANDSHAKE_SET') {
|
||||
await telegrambot.sendMsgTelegram(idapp, usernameDest, msgOrig);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Notification : ', e);
|
||||
|
||||
Reference in New Issue
Block a user