1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

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

This commit is contained in:
Claire 2023-09-28 15:29:07 +02:00 committed by GitHub
parent 686406cc2d
commit 1da3c588ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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