mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Merge pull request #2603 from jryans/fix-welcome
Call isGuest correctly
This commit is contained in:
commit
4ebe7c7e7c
@ -1193,7 +1193,7 @@ export default React.createClass({
|
||||
room_id: localStorage.getItem('mx_last_room_id'),
|
||||
});
|
||||
} else {
|
||||
if (MatrixClientPeg.get().isGuest) {
|
||||
if (MatrixClientPeg.get().isGuest()) {
|
||||
dis.dispatch({action: 'view_welcome_page'});
|
||||
} else {
|
||||
dis.dispatch({action: 'view_home_page'});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user