From 846057f0d696fded87d105dec1245e9ba32763ce Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 11 Jul 2021 16:22:21 +0200 Subject: Block/unblock (#96) * remote + local block logic, incl. federation * improve blocking stuff * fiddle with display of blocked profiles * go fmt --- internal/typeutils/asinterfaces.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'internal/typeutils/asinterfaces.go') diff --git a/internal/typeutils/asinterfaces.go b/internal/typeutils/asinterfaces.go index aae3ecf93..d0b1cf617 100644 --- a/internal/typeutils/asinterfaces.go +++ b/internal/typeutils/asinterfaces.go @@ -111,6 +111,15 @@ type Likeable interface { withObject } +// Blockable represents the minimum interface for an activitystreams 'block' activity. +type Blockable interface { + withJSONLDId + withTypeName + + withActor + withObject +} + // Announceable represents the minimum interface for an activitystreams 'announce' activity. type Announceable interface { withJSONLDId -- cgit v1.2.3