From 1d648211f072bba6e5c04a6944eb720e0355b0b3 Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Thu, 14 Jan 2021 19:01:10 -0800 Subject: added config file for server defaults --- OutboxPost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OutboxPost.go') diff --git a/OutboxPost.go b/OutboxPost.go index 89173f9..772014a 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -111,7 +111,7 @@ func ParseOutboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { var rActivity Activity - if validActor && validLocalActor && verification.Board == activity.Actor.Id { + if validActor && validLocalActor && verification.Board == activity.Actor.Id || verification.Board == Domain { rActivity = AcceptFollow(activity, actor) } else { rActivity = RejectFollow(activity, actor) -- cgit v1.2.3