diff options
Diffstat (limited to 'OutboxPost.go')
-rw-r--r-- | OutboxPost.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OutboxPost.go b/OutboxPost.go index 99f18d9..9b10ab7 100644 --- a/OutboxPost.go +++ b/OutboxPost.go @@ -507,7 +507,9 @@ func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { case "Create": for _, e := range activity.To { if IsActorLocal(db, e) { - WriteObjectToCache(db, *activity.Object) + if !IsActorLocal(db, activity.Actor.Id) { + WriteObjectToCache(db, *activity.Object) + } } } |