[PLUGIN][ActivityPub] Implement Group Inbox POST

This commit is contained in:
2022-02-12 04:34:10 +00:00
parent 3ae8f8213f
commit 10d1a7ed2a
4 changed files with 87 additions and 6 deletions

View File

@@ -274,7 +274,7 @@ class Note extends Model
'canonical' => $canonical_tag,
'note_id' => $obj->getId(),
'use_canonical' => $ap_tag->get('canonical') ?? false,
'language_id' => $lang_id,
'language_id' => $lang_id ?? null,
]));
Cache::pushList("tag-{$canonical_tag}", $obj);
foreach (Tag::cacheKeys($canonical_tag) as $key) {