because post_types have length limitations, we should abbreviate the "activitypub" prefix, to be more flexible and consistent when adding other post_types in the future
"Must not exceed 20 characters and may only contain lowercase alphanumeric characters, dashes, and underscores"
This commit is contained in:
parent
e7bc9706a8
commit
a215203777
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ use function Activitypub\get_remote_metadata_by_actor;
|
|||
* @author Matthias Pfefferle
|
||||
*/
|
||||
class Followers {
|
||||
const POST_TYPE = 'activitypub_follower';
|
||||
const POST_TYPE = 'ap_follower';
|
||||
const CACHE_KEY_INBOXES = 'follower_inboxes_%s';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue