Se errore di connessione al Server: compare l'username telegram !
Se Cookie disattivati: non riesci a loggare.
sui Gruppi: non si vede il Comune !
Sei stato accettato da paoloar77 a far parte del Gruppo Terraw. MSG SBAGLIATO
l'immagine dell'amministratore del gruppo non compariva
This commit is contained in:
Paolo Arena
2022-03-30 22:51:03 +02:00
parent d91aeadb5c
commit 14d45646d2
6 changed files with 40 additions and 18 deletions

View File

@@ -3667,6 +3667,8 @@ if (true) {
const rec = myclTelegram.getRecInMem(msg);
const username_action = rec.user ? rec.user.username : '';
data.username = await User.getRealUsernameByUsername(idapp, data.username);
data.userDest = await User.getRealUsernameByUsername(idapp, data.userDest);
@@ -3748,7 +3750,7 @@ if (true) {
if (!foundIfAlreadyGroup) {
// Aggiungilo nel Gruppo
await User.setGroupsCmd(user.idapp, data.username, group.groupname, cmd);
await User.setGroupsCmd(user.idapp, data.username, group.groupname, cmd, 0, username_action);
}
}
@@ -3760,7 +3762,7 @@ if (true) {
if (foundIfAlreadyGroup) {
// Rimuovilo nel Gruppo
await User.setGroupsCmd(user.idapp, data.username, group.groupname, cmd);
await User.setGroupsCmd(user.idapp, data.username, group.groupname, cmd, 0, username_action);
}
}