aboutsummaryrefslogtreecommitdiff
path: root/OutboxPost.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-14 19:01:10 -0800
committerFChannel <=>2021-01-14 19:01:10 -0800
commit1d648211f072bba6e5c04a6944eb720e0355b0b3 (patch)
treebb3aff9d21bdec3c28e5478880829e7e1e4eced6 /OutboxPost.go
parentf07df9e7182f4487bd38d6be71074872815d947b (diff)
added config file for server defaults
Diffstat (limited to 'OutboxPost.go')
-rw-r--r--OutboxPost.go2
1 files changed, 1 insertions, 1 deletions
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)