You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-07 23:02:56 +03:00
Use LegacyRendezvousFailureReason over RendezvousFailureReason (#4231)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
43022d5b2f
commit
87c2ac3ffa
@@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export type RendezvousFailureListener = (reason: RendezvousFailureReason) => void;
|
export type RendezvousFailureListener = (reason: LegacyRendezvousFailureReason) => void;
|
||||||
|
|
||||||
export enum RendezvousFailureReason {
|
export enum LegacyRendezvousFailureReason {
|
||||||
UserDeclined = "user_declined",
|
UserDeclined = "user_declined",
|
||||||
OtherDeviceNotSignedIn = "other_device_not_signed_in",
|
OtherDeviceNotSignedIn = "other_device_not_signed_in",
|
||||||
OtherDeviceAlreadySignedIn = "other_device_already_signed_in",
|
OtherDeviceAlreadySignedIn = "other_device_already_signed_in",
|
||||||
@@ -29,3 +29,8 @@ export enum RendezvousFailureReason {
|
|||||||
UnsupportedTransport = "unsupported_transport",
|
UnsupportedTransport = "unsupported_transport",
|
||||||
HomeserverLacksSupport = "homeserver_lacks_support",
|
HomeserverLacksSupport = "homeserver_lacks_support",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated legacy re-export
|
||||||
|
*/
|
||||||
|
export { LegacyRendezvousFailureReason as RendezvousFailureReason };
|
||||||
|
Reference in New Issue
Block a user