feat: sync iOS compatibility support
This commit is contained in:
parent
1f646ef024
commit
50803a604c
32 changed files with 871 additions and 78 deletions
|
|
@ -143,6 +143,14 @@ func langPackFromClient(ctx context.Context) string {
|
|||
return string(ClientTypeAndroid)
|
||||
case ClientTypeTDesktop:
|
||||
return string(ClientTypeTDesktop)
|
||||
case ClientTypeIOS:
|
||||
return string(ClientTypeIOS)
|
||||
case ClientTypeMacOS:
|
||||
return string(ClientTypeMacOS)
|
||||
case ClientTypeTWeb:
|
||||
return "webk"
|
||||
case ClientTypeTelegramTT:
|
||||
return "weba"
|
||||
}
|
||||
client := strings.ToLower(info.DeviceModel + " " + info.SystemVersion + " " + info.AppVersion)
|
||||
if strings.Contains(client, "android") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue