- Pagina MySkills personale
This commit is contained in:
@@ -2343,7 +2343,11 @@ class Telegram {
|
||||
if (code.length < 7) {
|
||||
if (rec) {
|
||||
if (code === telegcode) {
|
||||
try {
|
||||
await User.setUsernameTelegram(this.idapp, user._id, msg.from.username || '', msg.from.first_name || '', msg.from.last_name || '');
|
||||
} catch (e) {}
|
||||
// let ris = await this.getUser(msg, rec, false);
|
||||
|
||||
rec.status = Status.VERIFIED;
|
||||
await User.SetTelegramIdSuccess(this.idapp, user._id,
|
||||
msg.from.id).then((recuser) => {
|
||||
|
||||
Reference in New Issue
Block a user