feat: sync iOS compatibility support

This commit is contained in:
A 2026-07-13 00:58:57 +08:00
parent 1f646ef024
commit 50803a604c
32 changed files with 871 additions and 78 deletions

View file

@ -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") {