Skip to content

Commit 4e01a94

Browse files
committed
Bump to version v1.0.77 (matrix-rust-sdk/main e76b8f7)
1 parent dfb5479 commit 4e01a94

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "dd7407ec4598697dd34756b18af975704b6ab47fd47de81b93e442ac5e06d7aa"
5-
let version = "v1.0.76"
4+
let checksum = "8b2e9ca1ff9b3ec731f51f4bea549b46121c68368b949c88171390d6aad40928"
5+
let version = "v1.0.77"
66
let url = "https://github.com/element-hq/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk_crypto.swift

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,17 @@ public enum UtdCause {
11001100
* obtained from a legacy (asymmetric) backup, unsafe key forward, etc.)
11011101
*/
11021102
case unknownDevice
1103+
/**
1104+
* We are missing the keys for this event, but it is a "device-historical"
1105+
* message and no backup is accessible or usable.
1106+
*
1107+
* Device-historical means that the message was sent before the current
1108+
* device existed (but the current user was probably a member of the room
1109+
* at the time the message was sent). Not to
1110+
* be confused with pre-join or pre-invite messages (see
1111+
* [`UtdCause::SentBeforeWeJoined`] for that).
1112+
*/
1113+
case historicalMessage
11031114
}
11041115

11051116

@@ -1120,6 +1131,8 @@ public struct FfiConverterTypeUtdCause: FfiConverterRustBuffer {
11201131

11211132
case 5: return .unknownDevice
11221133

1134+
case 6: return .historicalMessage
1135+
11231136
default: throw UniffiInternalError.unexpectedEnumCase
11241137
}
11251138
}
@@ -1147,6 +1160,10 @@ public struct FfiConverterTypeUtdCause: FfiConverterRustBuffer {
11471160
case .unknownDevice:
11481161
writeInt(&buf, Int32(5))
11491162

1163+
1164+
case .historicalMessage:
1165+
writeInt(&buf, Int32(6))
1166+
11501167
}
11511168
}
11521169
}

0 commit comments

Comments
 (0)