0.3.14:
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:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user