vedere le Richieste di Fiducia solo se si è verificati Telegram
Corretto il mio account che doveva confermare in automatico... non lo faceva...
This commit is contained in:
@@ -2608,11 +2608,15 @@ module.exports = {
|
||||
return process.env.LOCALE !== '1';
|
||||
},
|
||||
|
||||
refreshAllTablesInMem(idapp, table, updatebot) {
|
||||
refreshAllTablesInMem(idapp, table, updatebot, username) {
|
||||
const telegrambot = require('../telegram/telegrambot');
|
||||
|
||||
if (table === shared_consts.TAB_MYBOTS || updatebot) {
|
||||
telegrambot.reloadMenuBot(idapp);
|
||||
}
|
||||
|
||||
if (table === shared_consts.TAB_USERS) {
|
||||
telegrambot.deleteRecInMemByUsername(idapp, username);
|
||||
} else if (table === shared_consts.TAB_SITES) {
|
||||
telegrambot.reloadSites();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user