merged with fixes

This commit is contained in:
onysd 2026-09-09 02:49:30 +03:00
parent a9e758b712
commit 2f1818d656
176 changed files with 9000 additions and 907 deletions

View file

@ -315,6 +315,9 @@ func (s *captureAuthService) UpdateAuthKeyClientInfo(_ context.Context, authKeyI
if info.AppVersion != "" {
current.AppVersion = info.AppVersion
}
if info.IP != "" {
current.IP = info.IP
}
s.authKeyClientInfos[authKeyID] = current
for i := range s.authorizations {
if s.authorizations[i].AuthKeyID != authKeyID {
@ -335,6 +338,9 @@ func (s *captureAuthService) UpdateAuthKeyClientInfo(_ context.Context, authKeyI
if info.AppVersion != "" {
s.authorizations[i].AppVersion = info.AppVersion
}
if info.IP != "" {
s.authorizations[i].IP = info.IP
}
}
return nil
}