Skip to content

Commit 47d301f

Browse files
committed
chore: update matrix-rust-sdk to 0.13.0
1 parent 3520586 commit 47d301f

11 files changed

Lines changed: 10969 additions & 3762 deletions

cpp/generated/matrix_sdk_ffi.cpp

Lines changed: 1540 additions & 665 deletions
Large diffs are not rendered by default.

cpp/generated/matrix_sdk_ffi.hpp

Lines changed: 211 additions & 82 deletions
Large diffs are not rendered by default.

matrix-rust-sdk.patch

Lines changed: 4789 additions & 176 deletions
Large diffs are not rendered by default.

src/generated/matrix_sdk.ts

Lines changed: 550 additions & 0 deletions
Large diffs are not rendered by default.

src/generated/matrix_sdk_common.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ export enum ShieldStateCode {
104104
* The sender was previously verified but changed their identity.
105105
*/
106106
VerificationViolation,
107+
/**
108+
* The `sender` field on the event does not match the owner of the device
109+
* that established the Megolm session.
110+
*/
111+
MismatchedSender,
107112
}
108113

109114
const FfiConverterTypeShieldStateCode = (() => {
@@ -124,6 +129,8 @@ const FfiConverterTypeShieldStateCode = (() => {
124129
return ShieldStateCode.SentInClear;
125130
case 6:
126131
return ShieldStateCode.VerificationViolation;
132+
case 7:
133+
return ShieldStateCode.MismatchedSender;
127134
default:
128135
throw new UniffiInternalError.UnexpectedEnumCase();
129136
}
@@ -142,6 +149,8 @@ const FfiConverterTypeShieldStateCode = (() => {
142149
return ordinalConverter.write(5, into);
143150
case ShieldStateCode.VerificationViolation:
144151
return ordinalConverter.write(6, into);
152+
case ShieldStateCode.MismatchedSender:
153+
return ordinalConverter.write(7, into);
145154
}
146155
}
147156
allocationSize(value: TypeName): number {

0 commit comments

Comments
 (0)