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

Commit

Permalink
Call isGuest correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed Feb 8, 2019
1 parent cf21ca2 commit 5977859
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 5977859

Please sign in to comment.