Combine move activities as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
5a8c7854d6
commit
38292753ac
|
@ -246,7 +246,11 @@ class Provider implements IProvider {
|
||||||
|
|
||||||
$this->setSubjects($event, $subject, $parsedParameters);
|
$this->setSubjects($event, $subject, $parsedParameters);
|
||||||
|
|
||||||
$event = $this->eventMerger->mergeEvents('file', $event, $previousEvent);
|
if ($event->getSubject() === 'moved_self' || $event->getSubject() === 'moved_by') {
|
||||||
|
$event = $this->eventMerger->mergeEvents('oldfile', $event, $previousEvent);
|
||||||
|
} else {
|
||||||
|
$event = $this->eventMerger->mergeEvents('file', $event, $previousEvent);
|
||||||
|
}
|
||||||
|
|
||||||
if ($event->getChildEvent() === null) {
|
if ($event->getChildEvent() === null) {
|
||||||
// Couldn't group by file, maybe we can group by user
|
// Couldn't group by file, maybe we can group by user
|
||||||
|
|
Loading…
Reference in New Issue