Issue 12415: Handle attachment updates via AP
This commit is contained in:
parent
61deaec4be
commit
2849a96628
|
@ -242,6 +242,7 @@ class Processor
|
||||||
$item['changed'] = DateTimeFormat::utcNow();
|
$item['changed'] = DateTimeFormat::utcNow();
|
||||||
$item['edited'] = DateTimeFormat::utc($activity['updated']);
|
$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);
|
$item = self::processContent($activity, $item);
|
||||||
if (empty($item)) {
|
if (empty($item)) {
|
||||||
Queue::remove($activity);
|
Queue::remove($activity);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user