Skip to content

Commit

Permalink
Update validate-connection.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarts authored Aug 23, 2024
1 parent b89bccc commit eb87520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/validate-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb87520

Please sign in to comment.