1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Merge pull request #16964 from Susko3/osu-links

Fix handling of badly-formatted osu:// urls
This commit is contained in:
Dean Herbert 2022-02-23 11:09:00 +09:00 committed by GitHub
commit b0a74a6851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,8 +236,7 @@ namespace osu.Game.Online.Chat
break;
default:
linkType = LinkAction.External;
break;
return new LinkDetails(LinkAction.External, url);
}
return new LinkDetails(linkType, args[2]);