Skip to content

Commit

Permalink
Fix link handling of mentions in user profiles when logged out
Browse files Browse the repository at this point in the history
Fixes #27163
  • Loading branch information
ClearlyClaire committed Sep 28, 2023
1 parent 57f592f commit 68b09f0
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 68b09f0

Please sign in to comment.