From 000d1e37327db4e77eb666961dc4cf72aa40824a Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 24 Aug 2024 13:15:34 -0400 Subject: [PATCH] add missing other piece to ThreepidMediumNotSupported Signed-off-by: strawberry --- crates/ruma-client-api/src/error/kind_serde.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ruma-client-api/src/error/kind_serde.rs b/crates/ruma-client-api/src/error/kind_serde.rs index f6c5cd4c..b1aac1fd 100644 --- a/crates/ruma-client-api/src/error/kind_serde.rs +++ b/crates/ruma-client-api/src/error/kind_serde.rs @@ -198,6 +198,7 @@ impl<'de> Visitor<'de> for ErrorKindVisitor { ErrCode::ThreepidNotFound => ErrorKind::ThreepidNotFound, ErrCode::ThreepidAuthFailed => ErrorKind::ThreepidAuthFailed, ErrCode::ThreepidDenied => ErrorKind::ThreepidDenied, + ErrCode::ThreepidMediumNotSupported => ErrorKind::ThreepidMediumNotSupported, ErrCode::ServerNotTrusted => ErrorKind::ServerNotTrusted, ErrCode::UnsupportedRoomVersion => ErrorKind::UnsupportedRoomVersion, ErrCode::IncompatibleRoomVersion => ErrorKind::IncompatibleRoomVersion { @@ -279,6 +280,7 @@ enum ErrCode { ThreepidNotFound, ThreepidAuthFailed, ThreepidDenied, + ThreepidMediumNotSupported, ServerNotTrusted, UnsupportedRoomVersion, IncompatibleRoomVersion,