Lock out the first tab if Element is opened in a second tab. (#11425)
* Implement session lock dialogs * Bump analytics-events package * clean up resetJsDomAfterEach * fix types * update snapshot * update i18n strings
This commit is contained in:
@@ -20,6 +20,9 @@ enum Views {
|
||||
// trying to re-animate a matrix client or register as a guest.
|
||||
LOADING,
|
||||
|
||||
// Another tab holds the lock.
|
||||
CONFIRM_LOCK_THEFT,
|
||||
|
||||
// we are showing the welcome view
|
||||
WELCOME,
|
||||
|
||||
@@ -48,6 +51,9 @@ enum Views {
|
||||
// We are logged out (invalid token) but have our local state again. The user
|
||||
// should log back in to rehydrate the client.
|
||||
SOFT_LOGOUT,
|
||||
|
||||
// Another instance of the application has started up. We just show an error page.
|
||||
LOCK_STOLEN,
|
||||
}
|
||||
|
||||
export default Views;
|
||||
|
||||
Reference in New Issue
Block a user