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,