mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:50:11 +00:00
Additional check for direct messages
This commit is contained in:
parent
08d06064ce
commit
c07ce083d1
2 changed files with 59 additions and 8 deletions
|
@ -1111,6 +1111,10 @@ class Processor
|
|||
}
|
||||
|
||||
if (!empty($activity['directmessage']) && self::postMail($item)) {
|
||||
if (!empty($item['source']) && DI::config()->get('debug', 'store_source')) {
|
||||
Post\Activity::insert($item['uri-id'], $item['source']);
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue