Creare Visualizzazione Nuova della scheda della MySkill (Bacheca)

This commit is contained in:
paoloar77
2022-02-14 15:38:34 +01:00
parent 621848d9d7
commit 6bea6828ff
4 changed files with 50 additions and 35 deletions

View File

@@ -803,7 +803,7 @@ module.exports = {
},
sendNotificationByUsername: async function(idapp, username, cmd, telegram) {
sendNotificationByUsername: async function(idapp, username, cmd, telegram, usernameOrig) {
var {User} = require('../models/user');
@@ -821,8 +821,8 @@ module.exports = {
let actions = [];
if (cmd) {
if (cmd === shared_consts.FRIENDSCMD.REQFRIEND) {
descr = printf(this.get__('RICHIESTA_AMICIZIA', lang), username);
openUrl = '/my/' + username;
descr = printf(this.get__('RICHIESTA_AMICIZIA', lang), usernameOrig);
openUrl = '/my/' + usernameOrig;
tag = 'reqfriends';
}
}