Always use the latest timestamp for merged activities
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
09fdd330a9
commit
38eaa636bc
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ class EventMerger implements IEventMerger {
|
||||||
|
|
||||||
$event->setRichSubject($newSubject, $parameters)
|
$event->setRichSubject($newSubject, $parameters)
|
||||||
->setParsedSubject($parsedSubject)
|
->setParsedSubject($parsedSubject)
|
||||||
->setChildEvent($previousEvent);
|
->setChildEvent($previousEvent)
|
||||||
|
->setTimestamp(max($event->getTimestamp(), $previousEvent->getTimestamp()));
|
||||||
} catch (\UnexpectedValueException $e) {
|
} catch (\UnexpectedValueException $e) {
|
||||||
return $event;
|
return $event;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue