From eb8752038bb6ecd7f1d6c25805e83f7bd5c9c8e4 Mon Sep 17 00:00:00 2001 From: wkarts <57051272+wkarts@users.noreply.github.com> Date: Fri, 23 Aug 2024 03:33:36 -0300 Subject: [PATCH] Update validate-connection.ts --- src/Utils/validate-connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/validate-connection.ts b/src/Utils/validate-connection.ts index 6057d5dc236..f7fa8ca1ec0 100644 --- a/src/Utils/validate-connection.ts +++ b/src/Utils/validate-connection.ts @@ -10,7 +10,7 @@ import { createSignalIdentity } from './signal' const getUserAgent = (config: SocketConfig): proto.ClientPayload.IUserAgent => { const osVersion = config.mobile ? '15.3.1' : '0.1' - const version = config.mobile ? [2, 24, 6] : config.version + const version = config.mobile ? [2, 24, 16] : config.version const device = config.mobile ? 'iPhone_7' : 'Desktop' const manufacturer = config.mobile ? 'Apple' : '' const platform = config.mobile ? proto.ClientPayload.UserAgent.Platform.IOS : proto.ClientPayload.UserAgent.Platform.WEB