Config requests, TgUseridToClientID cache, fixes

This commit is contained in:
0xCA 2023-11-17 17:11:39 +05:00
parent 4c6080b3fa
commit 659df606f6
6 changed files with 176 additions and 15 deletions

View file

@ -611,7 +611,7 @@ func SendTelegramClient(db store.IStore) echo.HandlerFunc {
return c.JSON(http.StatusInternalServerError, jsonHTTPResponse{false, "userid: " + err.Error()})
}
err = telegram.SendConfig(userid, clientData.Client.Name, configData, qrData)
err = telegram.SendConfig(userid, clientData.Client.Name, configData, qrData, false)
if err != nil {
return c.JSON(http.StatusInternalServerError, jsonHTTPResponse{false, err.Error()})