Skip to content

Commit

Permalink
runfix: Do not show temporary users as logged in when joining convers…
Browse files Browse the repository at this point in the history
…ation (#15852)
  • Loading branch information
atomrc authored Sep 19, 2023
1 parent bd8e57c commit 7728072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/auth/page/ConversationJoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const mapStateToProps = (state: RootState) => ({
isAuthenticated: AuthSelector.isAuthenticated(state),
isFetching: ConversationSelector.isFetching(state),
isTemporaryGuest: SelfSelector.isTemporaryGuest(state),
selfName: SelfSelector.getSelfName(state),
selfName: !SelfSelector.isTemporaryGuest(state) && SelfSelector.getSelfName(state),
});

type DispatchProps = ReturnType<typeof mapDispatchToProps>;
Expand Down

0 comments on commit 7728072

Please sign in to comment.