Closed (fixed)
Project:
ActivityPub
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Feb 2026 at 16:09 UTC
Updated:
6 Apr 2026 at 11:20 UTC
Jump to comment: Most recent
Currently, if that signature is ok, a post will be published and visible in the local timeline, even if the user does not follow the user.
Let's decide what to do with this, maybe with a setting, so we don't save any useless activities. This is for the individual inbox.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
swentel commentedComment #5
nickolajAdded a configurable setting "Only accept timeline activities from followed actors" in the Inbox settings. When enabled, incoming timeline activities (Create, Like, Announce) with a valid signature will also check the follow relationship, and only save/publish them if the local user actually follows the remote actor. The setting is disabled by default for backwards compatibility.
Comment #6
swentel commentedVery cool, thanks! I think it's probably safe to also add an upgrade path to explicitly set that new config setting in FALSE, but that's a minor.
Since we don't sign in the test, it's probably hard to write a test for this, but I'll have a look if we can start doing this.
But I'm going to finish #3572269: Introduce new entity to store one to many information (e.g. posts, follows, etc) first, that's close for a first commit and merge this one after that!
Comment #7
swentel commentedComment #9
swentel commented