Merge pull request #12851 from annando/issue-12415
Issue 12415: Handle attachment updates via AP
This commit is contained in:
commit
7eb26fa6bd
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ class Processor
|
|||
$item['changed'] = DateTimeFormat::utcNow();
|
||||
$item['edited'] = DateTimeFormat::utc($activity['updated']);
|
||||
|
||||
Post\Media::deleteByURIId($item['uri-id'], [Post\Media::AUDIO, Post\Media::VIDEO, Post\Media::IMAGE]);
|
||||
$item = self::processContent($activity, $item);
|
||||
if (empty($item)) {
|
||||
Queue::remove($activity);
|
||||
|
|
Loading…
Reference in a new issue