summaryrefslogtreecommitdiff
path: root/internal/processing/federation/federation.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/federation/federation.go')
-rw-r--r--internal/processing/federation/federation.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/processing/federation/federation.go b/internal/processing/federation/federation.go
index adf7b0437..c79baec3c 100644
--- a/internal/processing/federation/federation.go
+++ b/internal/processing/federation/federation.go
@@ -56,6 +56,9 @@ type Processor interface {
// GetWebfingerAccount handles the GET for a webfinger resource. Most commonly, it will be used for returning account lookups.
GetWebfingerAccount(ctx context.Context, requestedUsername string) (*apimodel.WellKnownResponse, gtserror.WithCode)
+ // GetFediEmoji handles the GET for a federated emoji originating from this instance.
+ GetEmoji(ctx context.Context, requestedEmojiID string, requestURL *url.URL) (interface{}, gtserror.WithCode)
+
// GetNodeInfoRel returns a well known response giving the path to node info.
GetNodeInfoRel(ctx context.Context, request *http.Request) (*apimodel.WellKnownResponse, gtserror.WithCode)