File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
// swift-tools-version:5.9
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
import PackageDescription
4
- let checksum = " dd7407ec4598697dd34756b18af975704b6ab47fd47de81b93e442ac5e06d7aa "
5
- let version = " v1.0.76 "
4
+ let checksum = " 8b2e9ca1ff9b3ec731f51f4bea549b46121c68368b949c88171390d6aad40928 "
5
+ let version = " v1.0.77 "
6
6
let url = " https://github.com/element-hq/matrix-rust-components-swift/releases/download/ \( version) /MatrixSDKFFI.xcframework.zip "
7
7
let package = Package (
8
8
name: " MatrixRustSDK " ,
Original file line number Diff line number Diff line change @@ -1100,6 +1100,17 @@ public enum UtdCause {
1100
1100
* obtained from a legacy (asymmetric) backup, unsafe key forward, etc.)
1101
1101
*/
1102
1102
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
1103
1114
}
1104
1115
1105
1116
@@ -1120,6 +1131,8 @@ public struct FfiConverterTypeUtdCause: FfiConverterRustBuffer {
1120
1131
1121
1132
case 5 : return . unknownDevice
1122
1133
1134
+ case 6 : return . historicalMessage
1135
+
1123
1136
default : throw UniffiInternalError . unexpectedEnumCase
1124
1137
}
1125
1138
}
@@ -1147,6 +1160,10 @@ public struct FfiConverterTypeUtdCause: FfiConverterRustBuffer {
1147
1160
case . unknownDevice:
1148
1161
writeInt ( & buf, Int32 ( 5 ) )
1149
1162
1163
+
1164
+ case . historicalMessage:
1165
+ writeInt ( & buf, Int32 ( 6 ) )
1166
+
1150
1167
}
1151
1168
}
1152
1169
}
You can’t perform that action at this time.
0 commit comments