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:
Matthias Pfefferle 2023-06-20 09:51:13 +02:00
parent e7bc9706a8
commit a215203777

View file

@ -19,7 +19,7 @@ use function Activitypub\get_remote_metadata_by_actor;
* @author Matthias Pfefferle * @author Matthias Pfefferle
*/ */
class Followers { class Followers {
const POST_TYPE = 'activitypub_follower'; const POST_TYPE = 'ap_follower';
const CACHE_KEY_INBOXES = 'follower_inboxes_%s'; const CACHE_KEY_INBOXES = 'follower_inboxes_%s';
/** /**