Fix opening username links.

This commit is contained in:
Greyson Parrelli
2023-11-08 10:39:44 -05:00
committed by Cody Henthorne
parent d6fd6cb5a3
commit 73de2dfda7
6 changed files with 144 additions and 108 deletions

View File

@@ -58,7 +58,7 @@ object CallLinks {
return false
}
if (!url.startsWith(HTTPS_LINK_PREFIX) && !url.startsWith(SNGL_LINK_PREFIX)) {
if (!url.startsWith(HTTPS_LINK_PREFIX) || !url.startsWith(SNGL_LINK_PREFIX)) {
return false
}