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

Commit

Permalink
Merge pull request #2603 from jryans/fix-welcome
Browse files Browse the repository at this point in the history
Call isGuest correctly
  • Loading branch information
jryans authored Feb 8, 2019
2 parents cf21ca2 + 5977859 commit 4ebe7c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/structures/MatrixChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'});
Expand Down

0 comments on commit 4ebe7c7

Please sign in to comment.