add missing other piece to ThreepidMediumNotSupported

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-08-24 13:15:34 -04:00
parent 92291c0100
commit 000d1e3732

View File

@ -198,6 +198,7 @@ impl<'de> Visitor<'de> for ErrorKindVisitor {
ErrCode::ThreepidNotFound => ErrorKind::ThreepidNotFound, ErrCode::ThreepidNotFound => ErrorKind::ThreepidNotFound,
ErrCode::ThreepidAuthFailed => ErrorKind::ThreepidAuthFailed, ErrCode::ThreepidAuthFailed => ErrorKind::ThreepidAuthFailed,
ErrCode::ThreepidDenied => ErrorKind::ThreepidDenied, ErrCode::ThreepidDenied => ErrorKind::ThreepidDenied,
ErrCode::ThreepidMediumNotSupported => ErrorKind::ThreepidMediumNotSupported,
ErrCode::ServerNotTrusted => ErrorKind::ServerNotTrusted, ErrCode::ServerNotTrusted => ErrorKind::ServerNotTrusted,
ErrCode::UnsupportedRoomVersion => ErrorKind::UnsupportedRoomVersion, ErrCode::UnsupportedRoomVersion => ErrorKind::UnsupportedRoomVersion,
ErrCode::IncompatibleRoomVersion => ErrorKind::IncompatibleRoomVersion { ErrCode::IncompatibleRoomVersion => ErrorKind::IncompatibleRoomVersion {
@ -279,6 +280,7 @@ enum ErrCode {
ThreepidNotFound, ThreepidNotFound,
ThreepidAuthFailed, ThreepidAuthFailed,
ThreepidDenied, ThreepidDenied,
ThreepidMediumNotSupported,
ServerNotTrusted, ServerNotTrusted,
UnsupportedRoomVersion, UnsupportedRoomVersion,
IncompatibleRoomVersion, IncompatibleRoomVersion,