Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4ebe7c7

Browse files
authored
Merge pull request #2603 from jryans/fix-welcome
Call isGuest correctly
2 parents cf21ca2 + 5977859 commit 4ebe7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/MatrixChat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ export default React.createClass({
11931193
room_id: localStorage.getItem('mx_last_room_id'),
11941194
});
11951195
} else {
1196-
if (MatrixClientPeg.get().isGuest) {
1196+
if (MatrixClientPeg.get().isGuest()) {
11971197
dis.dispatch({action: 'view_welcome_page'});
11981198
} else {
11991199
dis.dispatch({action: 'view_home_page'});

0 commit comments

Comments
 (0)