mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 18:50:43 +02:00
Merge pull request #251 from h3y6e/patch-1
Correct identity claim for mastodon
This commit is contained in:
@@ -128,7 +128,7 @@ class MastodonIdentity(
|
||||
if (proofUrl.isBlank()) return null
|
||||
val path = proofUrl.removePrefix("https://").split("?")[0].split("/")
|
||||
|
||||
return MastodonIdentity(path[0], path[1])
|
||||
return MastodonIdentity("${path[0]}/${path[1]}", path[2])
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
}
|
||||
|
Reference in New Issue
Block a user