mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
Fix invite-specific join errors not being shown (#32621)
* Fix invite-specific join errors not being shown * remove horrible non-jest function of getAccountData * Use an Error * Always dispatch an Error * Throw a UserFriendlyError
This commit is contained in:
@@ -12,6 +12,20 @@ exports[`RoomViewStore should display an error message when the room is unreacha
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`RoomViewStore should display an invite-specific error message when the room is unreachable 1`] = `
|
||||
{
|
||||
"description": "The person who invited you has already left.",
|
||||
"title": "Failed to join",
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`RoomViewStore should display an invite-specific error message when the room is unreachable 2`] = `
|
||||
{
|
||||
"description": "The person who invited you has already left, or their server is offline.",
|
||||
"title": "Failed to join",
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`RoomViewStore should display the generic error message when the roomId doesnt match 1`] = `
|
||||
{
|
||||
"description": "MatrixError: [404] my 404 error",
|
||||
|
||||
Reference in New Issue
Block a user