Skip to content

Commit

Permalink
Fix link handling of mentions in user profiles when logged out (masto…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and audiodude committed Oct 23, 2023
1 parent 89cc690 commit 6b16941
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/javascript/mastodon/actions/search.js
Expand Up @@ -147,6 +147,10 @@ export const openURL = (value, history, onFailure) => (dispatch, getState) => {
const signedIn = !!getState().getIn(['meta', 'me']);

if (!signedIn) {
if (onFailure) {
onFailure();
}

return;
}

Expand Down

0 comments on commit 6b16941

Please sign in to comment.