gearheads
/
mastodon
Archived
2
0
Fork 0

Fix link handling of mentions in user profiles when logged out (#27185)

gh/dev^2
Claire 2023-09-28 15:29:07 +02:00
parent 8bc5fe204e
commit 4e420d8459
1 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,10 @@ export const openURL = (value, history, onFailure) => (dispatch, getState) => {
const signedIn = !!getState().getIn(['meta', 'me']); const signedIn = !!getState().getIn(['meta', 'me']);
if (!signedIn) { if (!signedIn) {
if (onFailure) {
onFailure();
}
return; return;
} }