mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Update rust sdk to 0.0.6-november23 (#2159)
* Update rust sdk to 0.0.6-november23 * Delete unused property
This commit is contained in:
@@ -6652,7 +6652,7 @@
|
|||||||
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = "0.0.5-november23";
|
version = "0.0.6-november23";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
||||||
|
|||||||
@@ -130,8 +130,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
"location" : "https://github.com/matrix-org/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "415201caf63d5338c6007d4ed61978011a95bcb1",
|
"revision" : "42274cc2414e675b246432b037e7fa82b587fd97",
|
||||||
"version" : "0.0.5-november23"
|
"version" : "0.0.6-november23"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
-4
@@ -42,10 +42,6 @@ struct Poll: Hashable {
|
|||||||
endDate != nil
|
endDate != nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var hasVotes: Bool {
|
|
||||||
votes.values.contains(where: { !$0.isEmpty })
|
|
||||||
}
|
|
||||||
|
|
||||||
enum Kind: Hashable {
|
enum Kind: Hashable {
|
||||||
case disclosed
|
case disclosed
|
||||||
case undisclosed
|
case undisclosed
|
||||||
|
|||||||
@@ -411,8 +411,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
|||||||
body: poll.question,
|
body: poll.question,
|
||||||
timestamp: eventItemProxy.timestamp.formatted(date: .omitted, time: .shortened),
|
timestamp: eventItemProxy.timestamp.formatted(date: .omitted, time: .shortened),
|
||||||
isOutgoing: isOutgoing,
|
isOutgoing: isOutgoing,
|
||||||
// FIX ME: `eventItemProxy.isEditable` needs to be fixed on the rust side (now returns always false)
|
isEditable: eventItemProxy.isEditable,
|
||||||
isEditable: eventItemProxy.isOwn && !poll.hasVotes && !poll.hasEnded,
|
|
||||||
canBeRepliedTo: eventItemProxy.canBeRepliedTo,
|
canBeRepliedTo: eventItemProxy.canBeRepliedTo,
|
||||||
sender: eventItemProxy.sender,
|
sender: eventItemProxy.sender,
|
||||||
properties: RoomTimelineItemProperties(isEdited: edited,
|
properties: RoomTimelineItemProperties(isEdited: edited,
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ packages:
|
|||||||
# Element/Matrix dependencies
|
# Element/Matrix dependencies
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/matrix-org/matrix-rust-components-swift
|
url: https://github.com/matrix-org/matrix-rust-components-swift
|
||||||
exactVersion: 0.0.5-november23
|
exactVersion: 0.0.6-november23
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
Compound:
|
Compound:
|
||||||
url: https://github.com/vector-im/compound-ios
|
url: https://github.com/vector-im/compound-ios
|
||||||
|
|||||||
Reference in New Issue
Block a user