mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
NSE user agent support (#1507)
This commit is contained in:
@@ -30,6 +30,7 @@ final class NSEUserSession {
|
||||
baseClient = try ClientBuilder()
|
||||
.basePath(path: URL.sessionsBaseDirectory.path)
|
||||
.username(username: credentials.userID)
|
||||
.userAgent(userAgent: UserAgentBuilder.makeASCIIUserAgent())
|
||||
.build()
|
||||
|
||||
try baseClient.restoreSession(session: credentials.restorationToken.session)
|
||||
|
||||
@@ -38,6 +38,7 @@ targets:
|
||||
- package: Collections
|
||||
- package: Compound
|
||||
- package: DesignKit
|
||||
- package: DeviceKit
|
||||
|
||||
info:
|
||||
path: ../SupportingFiles/Info.plist
|
||||
@@ -91,3 +92,6 @@ targets:
|
||||
- path: ../../ElementX/Sources/Other/UserPreference.swift
|
||||
- path: ../../ElementX/Sources/Other/SharedUserDefaultsKeys.swift
|
||||
- path: ../../ElementX/Sources/Other/SwiftUI/Views/PlaceholderAvatarImage.swift
|
||||
- path: ../../ElementX/Sources/Other/UserAgentBuilder.swift
|
||||
- path: ../../ElementX/Sources/Other/Extensions/String.swift
|
||||
- path: ../../ElementX/Sources/Other/Extensions/LayoutDirection.swift
|
||||
|
||||
Reference in New Issue
Block a user