add M_THREEPID_MEDIUM_NOT_SUPPORTED, per MSC4178
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
25fbd64b96
commit
cd2de49c87
@ -106,6 +106,9 @@ pub enum ErrorKind {
|
|||||||
/// M_THREEPID_DENIED
|
/// M_THREEPID_DENIED
|
||||||
ThreepidDenied,
|
ThreepidDenied,
|
||||||
|
|
||||||
|
/// M_THREEPID_MEDIUM_NOT_SUPPORTED
|
||||||
|
ThreepidMediumNotSupported,
|
||||||
|
|
||||||
/// M_SERVER_NOT_TRUSTED
|
/// M_SERVER_NOT_TRUSTED
|
||||||
ServerNotTrusted,
|
ServerNotTrusted,
|
||||||
|
|
||||||
@ -251,6 +254,7 @@ impl AsRef<str> for ErrorKind {
|
|||||||
Self::ThreepidNotFound => "M_THREEPID_NOT_FOUND",
|
Self::ThreepidNotFound => "M_THREEPID_NOT_FOUND",
|
||||||
Self::ThreepidAuthFailed => "M_THREEPID_AUTH_FAILED",
|
Self::ThreepidAuthFailed => "M_THREEPID_AUTH_FAILED",
|
||||||
Self::ThreepidDenied => "M_THREEPID_DENIED",
|
Self::ThreepidDenied => "M_THREEPID_DENIED",
|
||||||
|
Self::ThreepidMediumNotSupported => "M_THREEPID_MEDIUM_NOT_SUPPORTED",
|
||||||
Self::ServerNotTrusted => "M_SERVER_NOT_TRUSTED",
|
Self::ServerNotTrusted => "M_SERVER_NOT_TRUSTED",
|
||||||
Self::UnsupportedRoomVersion => "M_UNSUPPORTED_ROOM_VERSION",
|
Self::UnsupportedRoomVersion => "M_UNSUPPORTED_ROOM_VERSION",
|
||||||
Self::IncompatibleRoomVersion { .. } => "M_INCOMPATIBLE_ROOM_VERSION",
|
Self::IncompatibleRoomVersion { .. } => "M_INCOMPATIBLE_ROOM_VERSION",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user