From b6c62309f236410a2dabdcf254473be99d7e60a7 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 26 Jun 2021 16:21:40 +0200 Subject: separate public key handler (#64) --- internal/typeutils/converter.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/typeutils/converter.go') diff --git a/internal/typeutils/converter.go b/internal/typeutils/converter.go index 806090f66..80a922635 100644 --- a/internal/typeutils/converter.go +++ b/internal/typeutils/converter.go @@ -122,6 +122,7 @@ type TypeConverter interface { // AccountToAS converts a gts model account into an activity streams person, suitable for federation AccountToAS(a *gtsmodel.Account) (vocab.ActivityStreamsPerson, error) + AccountToASMinimal(a *gtsmodel.Account) (vocab.ActivityStreamsPerson, error) // StatusToAS converts a gts model status into an activity streams note, suitable for federation StatusToAS(s *gtsmodel.Status) (vocab.ActivityStreamsNote, error) // FollowToASFollow converts a gts model Follow into an activity streams Follow, suitable for federation -- cgit v1.2.3