From 37b4d9d179afa470a7faee9ed0c6119cc8b613c0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 7 May 2023 19:53:21 +0200 Subject: [bugfix] Punycode fixes (#1743) Co-authored-by: kim Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> --- internal/uris/uri.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/uris/uri.go') 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) -- cgit v1.2.3