Skip to content

Commit 1ec19bd

Browse files
authored
Merge pull request #7843 from element-hq/mauroromito/swap_contentscanner_with_crypto_sdk
2 parents 907be3f + 909c38b commit 1ec19bd

File tree

10 files changed

+36
-36
lines changed

10 files changed

+36
-36
lines changed

Podfile.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ PODS:
2626
- GBDeviceInfo/Core (= 7.1.0)
2727
- GBDeviceInfo/Core (7.1.0)
2828
- GZIP (1.3.2)
29-
- Introspect (0.11.0)
29+
- Introspect (0.12.0)
3030
- JitsiMeetSDKLite (8.1.2-lite):
3131
- JitsiWebRTC (~> 111.0)
3232
- JitsiWebRTC (111.0.2)
@@ -39,20 +39,20 @@ PODS:
3939
- LoggerAPI (1.9.200):
4040
- Logging (~> 1.1)
4141
- Logging (1.4.0)
42-
- MatrixSDK (0.27.11):
43-
- MatrixSDK/Core (= 0.27.11)
44-
- MatrixSDK/Core (0.27.11):
42+
- MatrixSDK (0.27.13):
43+
- MatrixSDK/Core (= 0.27.13)
44+
- MatrixSDK/Core (0.27.13):
4545
- AFNetworking (~> 4.0.0)
4646
- GZIP (~> 1.3.0)
4747
- libbase58 (~> 0.1.4)
48-
- MatrixSDKCrypto (= 0.4.2)
48+
- MatrixSDKCrypto (= 0.4.3)
4949
- OLMKit (~> 3.2.5)
5050
- Realm (= 10.27.0)
5151
- SwiftyBeaver (= 1.9.5)
52-
- MatrixSDK/JingleCallStack (0.27.11):
52+
- MatrixSDK/JingleCallStack (0.27.13):
5353
- JitsiMeetSDKLite (= 8.1.2-lite)
5454
- MatrixSDK/Core
55-
- MatrixSDKCrypto (0.4.2)
55+
- MatrixSDKCrypto (0.4.3)
5656
- OLMKit (3.2.12):
5757
- OLMKit/olmc (= 3.2.12)
5858
- OLMKit/olmcpp (= 3.2.12)
@@ -72,15 +72,15 @@ PODS:
7272
- Sentry/Core (7.15.0)
7373
- SideMenu (6.5.0)
7474
- SwiftBase32 (0.9.0)
75-
- SwiftFormat/CLI (0.50.2)
76-
- SwiftGen (6.6.2)
75+
- SwiftFormat/CLI (0.54.5)
76+
- SwiftGen (6.6.3)
7777
- SwiftJWT (3.6.200):
7878
- BlueCryptor (~> 1.0)
7979
- BlueECC (~> 1.1)
8080
- BlueRSA (~> 1.0)
8181
- KituraContracts (~> 1.2)
8282
- LoggerAPI (~> 1.7)
83-
- SwiftLint (0.49.1)
83+
- SwiftLint (0.57.0)
8484
- SwiftyBeaver (1.9.5)
8585
- UICollectionViewLeftAlignedLayout (1.0.2)
8686
- UICollectionViewRightAlignedLayout (0.0.3)
@@ -177,7 +177,7 @@ SPEC CHECKSUMS:
177177
FlowCommoniOS: ca92071ab526dc89905495a37844fd7e78d1a7f2
178178
GBDeviceInfo: 5d62fa85bdcce3ed288d83c28789adf1173e4376
179179
GZIP: 3c0abf794bfce8c7cb34ea05a1837752416c8868
180-
Introspect: 4cc1e4c34dd016540c8d86a591c231c09dafbee3
180+
Introspect: b66b675de8a85d9ef832f3a710d8e3c7db186884
181181
JitsiMeetSDKLite: 895213158cf62342069a10634a41d2f1c00057f7
182182
JitsiWebRTC: 80f62908fcf2a1160e0d14b584323fb6e6be630b
183183
KeychainAccess: c0c4f7f38f6fc7bbe58f5702e25f7bd2f65abf51
@@ -187,26 +187,26 @@ SPEC CHECKSUMS:
187187
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
188188
LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d
189189
Logging: beeb016c9c80cf77042d62e83495816847ef108b
190-
MatrixSDK: 7c29e5cc8934cfc1f81f83fcfa17cd652612086d
191-
MatrixSDKCrypto: 736069ee0a5ec12852ab3498bf2242acecc443fc
190+
MatrixSDK: 1dae186c839eb145974fc1fc127ec903de60a297
191+
MatrixSDKCrypto: 27bee960e0e8b3a3039f3f3e93dd2ec88299c77e
192192
OLMKit: da115f16582e47626616874e20f7bb92222c7a51
193193
ReadMoreTextView: 19147adf93abce6d7271e14031a00303fe28720d
194194
Realm: 9ca328bd7e700cc19703799785e37f77d1a130f2
195195
Reusable: 6bae6a5e8aa793c9c441db0213c863a64bce9136
196196
Sentry: 63ca44f5e0c8cea0ee5a07686b02e56104f41ef7
197197
SideMenu: f583187d21c5b1dd04c72002be544b555a2627a2
198198
SwiftBase32: 9399c25a80666dc66b51e10076bf591e3bbb8f17
199-
SwiftFormat: 710117321c55c82675c0dc03055128efbb13c38f
200-
SwiftGen: 1366a7f71aeef49954ca5a63ba4bef6b0f24138c
199+
SwiftFormat: 543a7b1ab4a6ce2d88bd5616a17903446ca3dc5c
200+
SwiftGen: 4993cbf71cbc4886f775e26f8d5c3a1188ec9f99
201201
SwiftJWT: 88c412708f58c169d431d344c87bc79a87c830ae
202-
SwiftLint: 32ee33ded0636d0905ef6911b2b67bbaeeedafa5
202+
SwiftLint: eb47480d47c982481592c195c221d11013a679cc
203203
SwiftyBeaver: 84069991dd5dca07d7069100985badaca7f0ce82
204204
UICollectionViewLeftAlignedLayout: 830bf6fa5bab9f9b464f62e3384f9d2e00b3c0f6
205205
UICollectionViewRightAlignedLayout: 823eef8c567eba4a44c21bc2ffcb0d0d5f361e2d
206206
WeakDictionary: 8cd038acd77e5d54ca4ebaec3d20853d732b45e0
207207
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
208208
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5
209209

210-
PODFILE CHECKSUM: 7e14a7efb021fca69b3ffc2ffbe5fe632e6df7ea
210+
PODFILE CHECKSUM: fb3e1c62f9e35a9bdbafce743664bf4f620af028
211211

212-
COCOAPODS: 1.14.3
212+
COCOAPODS: 1.15.2

Riot/Modules/Pills/PillAttachmentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import UIKit
1818

1919
/// Base view class for mention Pills.
20-
@available (iOS 15.0, *)
20+
@available(iOS 15.0, *)
2121
@objcMembers
2222
class PillAttachmentView: UIView {
2323
// MARK: - Internal Structs

Riot/Modules/Pills/PillProvider.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616

1717
import Foundation
1818

19-
@available (iOS 15.0, *)
19+
@available(iOS 15.0, *)
2020
private enum PillAttachmentKind {
2121
case attachment(PillTextAttachment)
2222
case string(NSAttributedString)
2323
}
2424

25-
@available (iOS 15.0, *)
25+
@available(iOS 15.0, *)
2626
struct PillProvider {
2727
private let session: MXSession
2828
private let eventFormatter: MXKEventFormatter

Riot/Modules/Pills/PillTextAttachment.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import UIKit
1818
import MatrixSDK
1919

2020
/// Text attachment for pills display.
21-
@available (iOS 15.0, *)
21+
@available(iOS 15.0, *)
2222
@objcMembers
2323
class PillTextAttachment: NSTextAttachment {
2424
// MARK: - Properties
@@ -133,7 +133,7 @@ class PillTextAttachment: NSTextAttachment {
133133
}
134134

135135
// MARK: - Private
136-
@available (iOS 15.0, *)
136+
@available(iOS 15.0, *)
137137
private extension PillTextAttachment {
138138

139139
func updateBounds() {

Riot/Modules/Pills/PillTextAttachmentData.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import Foundation
1818
import UIKit
1919

20-
@available (iOS 15.0, *)
20+
@available(iOS 15.0, *)
2121
struct PillAssetColor: Codable {
2222
var red: CGFloat = 0.0, green: CGFloat = 0.0, blue: CGFloat = 0.0, alpha: CGFloat = 0.0
2323

@@ -30,23 +30,23 @@ struct PillAssetColor: Codable {
3030
}
3131
}
3232

33-
@available (iOS 15.0, *)
33+
@available(iOS 15.0, *)
3434
struct PillAssetParameter: Codable {
3535
var tintColor: PillAssetColor?
3636
var backgroundColor: PillAssetColor?
3737
var rawRenderingMode: Int = UIImage.RenderingMode.automatic.rawValue
3838
var padding: CGFloat = 2.0
3939
}
4040

41-
@available (iOS 15.0, *)
41+
@available(iOS 15.0, *)
4242
enum PillTextAttachmentItem: Codable {
4343
case text(String)
4444
case avatar(url: String?, string: String?, matrixId: String)
4545
case spaceAvatar(url: String?, string: String?, matrixId: String)
4646
case asset(named: String, parameters: PillAssetParameter)
4747
}
4848

49-
@available (iOS 15.0, *)
49+
@available(iOS 15.0, *)
5050
extension PillTextAttachmentItem {
5151
var string: String? {
5252
switch self {
@@ -59,7 +59,7 @@ extension PillTextAttachmentItem {
5959
}
6060

6161
/// Data associated with a Pill text attachment.
62-
@available (iOS 15.0, *)
62+
@available(iOS 15.0, *)
6363
struct PillTextAttachmentData: Codable {
6464
// MARK: - Properties
6565
/// Pill type

Riot/Modules/Pills/PillType.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
import Foundation
1818

19-
@available (iOS 15.0, *)
19+
@available(iOS 15.0, *)
2020
enum PillType: Codable {
2121
case user(userId: String) /// userId
2222
case room(roomId: String) /// roomId
2323
case message(roomId: String, eventId: String) // roomId, eventId
2424
}
2525

26-
@available (iOS 15.0, *)
26+
@available(iOS 15.0, *)
2727
extension PillType {
2828
private static var regexPermalinkTarget: NSRegularExpression? = {
2929
let clientBaseUrl = BuildSettings.clientPermalinkBaseUrl ?? kMXMatrixDotToUrl

Riot/Modules/Pills/PillsFormatter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Foundation
1818
import UIKit
1919

2020
/// Provides utilities funcs to handle Pills inside attributed strings.
21-
@available (iOS 15.0, *)
21+
@available(iOS 15.0, *)
2222
@objcMembers
2323
class PillsFormatter: NSObject {
2424
// MARK: - Internal Properties
@@ -214,7 +214,7 @@ class PillsFormatter: NSObject {
214214
}
215215

216216
// MARK: - Private Methods
217-
@available (iOS 15.0, *)
217+
@available(iOS 15.0, *)
218218
extension PillsFormatter {
219219
struct MarkdownLinkResult: Equatable {
220220
let url: URL

Riot/Modules/Room/VoiceMessages/VoiceMessagePlaybackView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class VoiceMessagePlaybackView: UIView, NibLoadable, Themable {
4949
@IBOutlet private var playButton: UIButton!
5050
@IBOutlet private var elapsedTimeLabel: UILabel!
5151
@IBOutlet private var waveformContainerView: UIView!
52-
@IBOutlet private (set)var stackViewTrailingContraint: NSLayoutConstraint!
52+
@IBOutlet private(set) var stackViewTrailingContraint: NSLayoutConstraint!
5353

5454
private var longPressGestureRecognizer: UILongPressGestureRecognizer!
5555
private var panGestureRecognizer: UIPanGestureRecognizer!

Riot/Modules/Settings/IdentityServer/SettingsIdentityServerViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ final class SettingsIdentityServerViewModel: SettingsIdentityServerViewModelType
9292

9393
private func checkCanAddIdentityServer(newIdentityServer: String,
9494
viewStateUpdate: @escaping (SettingsIdentityServerViewState) -> Void,
95-
canAddcompletion: @escaping(() -> Void)) {
95+
canAddcompletion: @escaping (() -> Void)) {
9696
viewStateUpdate(.loading)
9797

9898
self.checkIdentityServerValidity(identityServer: newIdentityServer) { (identityServerValidityResponse) in
@@ -228,7 +228,7 @@ final class SettingsIdentityServerViewModel: SettingsIdentityServerViewModelType
228228

229229
private func checkCanDisconnectIdentityServer(identityServer: String,
230230
viewStateUpdate: @escaping (SettingsIdentityServerViewState) -> Void,
231-
canDisconnectCompletion: @escaping(() -> Void)) {
231+
canDisconnectCompletion: @escaping (() -> Void)) {
232232
self.update(viewState: .loading)
233233

234234
self.checkExistingDataOnIdentityServer { (response) in

0 commit comments

Comments
 (0)