mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
Update Matrix SDK to 1.1.23 (#1890)
This commit is contained in:
@@ -5990,7 +5990,7 @@
|
||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 1.1.22;
|
||||
version = 1.1.23;
|
||||
};
|
||||
};
|
||||
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
||||
|
||||
@@ -120,8 +120,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||
"state" : {
|
||||
"revision" : "9895254e2da70cac3140069d39b7d07f18ff54c0",
|
||||
"version" : "1.1.22"
|
||||
"revision" : "c5ca416942b4a4af82126ac2bf7f08ef7af5bb19",
|
||||
"version" : "1.1.23"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -46,10 +46,7 @@ struct RoomEventStringBuilder {
|
||||
fatalError("Invalid message timeline item: \(eventItemProxy)")
|
||||
}
|
||||
|
||||
guard let messageType = messageContent.msgtype() else {
|
||||
return prefix(messageContent.body(), with: senderDisplayName)
|
||||
}
|
||||
|
||||
let messageType = messageContent.msgtype()
|
||||
return messageEventStringBuilder.buildAttributedString(for: messageType, senderDisplayName: senderDisplayName, prefixWithSenderName: true)
|
||||
case .state(let stateKey, let state):
|
||||
return stateEventStringBuilder
|
||||
|
||||
@@ -54,8 +54,10 @@ struct RoomMessageEventStringBuilder {
|
||||
} else {
|
||||
message = content.body
|
||||
}
|
||||
case .other(_, let body):
|
||||
message = body
|
||||
}
|
||||
|
||||
|
||||
if prefixWithSenderName {
|
||||
return prefix(message, with: senderDisplayName)
|
||||
} else {
|
||||
|
||||
@@ -105,7 +105,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
}
|
||||
case .location(let content):
|
||||
return buildLocationTimelineItem(for: eventItemProxy, messageTimelineItem, content, isOutgoing, isThreaded)
|
||||
case .none:
|
||||
case .other:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
@@ -653,7 +653,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
replyContent = .video(buildVideoTimelineItemContent(content))
|
||||
case .location(let content):
|
||||
replyContent = .location(buildLocationTimelineItemContent(content))
|
||||
case .none:
|
||||
case .other, .none:
|
||||
replyContent = .text(.init(body: L10n.commonUnsupportedEvent))
|
||||
}
|
||||
case .poll(let question, _, _, _, _, _):
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ packages:
|
||||
# Element/Matrix dependencies
|
||||
MatrixRustSDK:
|
||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||
exactVersion: 1.1.22
|
||||
exactVersion: 1.1.23
|
||||
# path: ../matrix-rust-sdk
|
||||
Compound:
|
||||
url: https://github.com/vector-im/compound-ios
|
||||
|
||||
Reference in New Issue
Block a user