mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:10:12 +00:00
We now store the violation as well
This commit is contained in:
parent
fd53cf824f
commit
5298cd73b3
10 changed files with 38 additions and 8 deletions
|
@ -1852,7 +1852,7 @@ class Processor
|
|||
}
|
||||
}
|
||||
|
||||
$report = DI::reportFactory()->createFromReportsRequest($reporter_id, $account_id, $activity['content'], null, false, $uri_ids);
|
||||
$report = DI::reportFactory()->createFromReportsRequest($reporter_id, $account_id, $activity['content'], null, '', false, $uri_ids);
|
||||
DI::report()->save($report);
|
||||
|
||||
Logger::info('Stored report', ['reporter' => $reporter_id, 'account_id' => $account_id, 'comment' => $activity['content'], 'object_ids' => $activity['object_ids']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue