InfiniteScroll: Le liste (Beni / Servizi / Eventi) devono essere caricate in automatico, scorrendo la lista...

fix category
This commit is contained in:
paoloar77
2022-08-15 15:10:27 +02:00
parent a2022f96cb
commit da3d6451d5
8 changed files with 25 additions and 15 deletions

View File

@@ -2480,7 +2480,7 @@ class Telegram {
async askUsernameInvitante(msg) {
try {
let rec = this.getRecInMem(msg);
if (msg.text === undefined)
if (msg.text === undefined || msg.text === 'undefined')
return false;
if (rec) {
@@ -2545,8 +2545,8 @@ class Telegram {
async checkIfUsernameTelegramSet(msg) {
try {
if (!msg.from.username) {
//await this.sendMsgByTemplateByMsgStrutt('MSG_SET_USERNAME', msg);
await this.sendMsgByTextByMsgStrutt('MSG_SET_USERNAME_TELEGRAM', msg);
await this.sendMsgByTemplateByMsgStrutt('MSG_SET_USERNAME', msg);
// await this.sendMsgByTextByMsgStrutt('MSG_SET_USERNAME_TELEGRAM', msg);
return false;
//await this.sendMsgByTemplate('MSG_SET_USERNAME', myuser);
}