mirror of
https://github.com/friendica/friendica
synced 2025-04-29 00:24:24 +02:00
Use group posts for channels
This commit is contained in:
parent
3d6dae7774
commit
837c2dd24a
2 changed files with 2 additions and 7 deletions
|
@ -65,11 +65,6 @@ class Engagement
|
|||
return;
|
||||
}
|
||||
|
||||
if ($parent['contact-contact-type'] == Contact::TYPE_COMMUNITY) {
|
||||
Logger::debug('Group posts are not stored', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'author-id' => $parent['author-id']]);
|
||||
return;
|
||||
}
|
||||
|
||||
if ($parent['created'] < DateTimeFormat::utc('now - ' . DI::config()->get('channel', 'engagement_hours') . ' hour')) {
|
||||
Logger::debug('Post is too old', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'created' => $parent['created']]);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue