summaryrefslogtreecommitdiff
path: root/internal/uris/uri.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-07 19:53:21 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-07 18:53:21 +0100
commit37b4d9d179afa470a7faee9ed0c6119cc8b613c0 (patch)
treeffa42dc31ba609cedbed29b81956142539f4a7e9 /internal/uris/uri.go
parent[bugfix] Return languages in api/v1/instance (#1741) (diff)
downloadgotosocial-37b4d9d179afa470a7faee9ed0c6119cc8b613c0.tar.xz
[bugfix] Punycode fixes (#1743)
Co-authored-by: kim <grufwub@gmail.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Diffstat (limited to 'internal/uris/uri.go')
-rw-r--r--internal/uris/uri.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/uris/uri.go b/internal/uris/uri.go
index e0b72f7de..8a8968f38 100644
--- a/internal/uris/uri.go
+++ b/internal/uris/uri.go
@@ -193,11 +193,6 @@ func IsOutboxPath(id *url.URL) bool {
return regexes.OutboxPath.MatchString(id.Path)
}
-// IsInstanceActorPath returns true if the given URL path corresponds to eg /actors/example_username
-func IsInstanceActorPath(id *url.URL) bool {
- return regexes.ActorPath.MatchString(id.Path)
-}
-
// IsFollowersPath returns true if the given URL path corresponds to eg /users/example_username/followers
func IsFollowersPath(id *url.URL) bool {
return regexes.FollowersPath.MatchString(id.Path)