Accomodations ...
This commit is contained in:
@@ -2563,6 +2563,9 @@ class Telegram {
|
||||
|
||||
const str2 = '\n' + getstr(this.getlang(msg), 'MSG_ASK_USERNAME_INVITANTE', tools.getNomeAppByIdApp(this.idapp));
|
||||
|
||||
if (msg.from.username)
|
||||
console.log(msg.from.username + ' ha digitato: ' + msg.text);
|
||||
|
||||
await this.sendMsg(msg.from.id, getstr(this.getlang(msg), 'MSG_ERRORE_INVITANTE_NOT_FOUND') + str2, null);
|
||||
}
|
||||
}
|
||||
@@ -3029,7 +3032,7 @@ class Telegram {
|
||||
|
||||
const status = this.getstatus(rec);
|
||||
if (status === Status.SET_USERNAME_INVITANTE && rec.aportador_solidario) {
|
||||
let linkreg = tools.getLinkRegByIdAppAndMsgStrutt(this.idapp, msg);
|
||||
let linkreg = tools.getLinkRegByIdAppAndMsgStrutt(this.idapp, msg, rec);
|
||||
|
||||
if (process.env.LOCALE === '1') {
|
||||
linkreg = 'http://192.168.1.115:8084/signup/' + rec.aportador_solidario + '/' + msg.from.username + '/' + msg.from.id;
|
||||
|
||||
Reference in New Issue
Block a user