Always use the latest timestamp for merged activities
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e2a54118df
commit
a0f4a82e51
|
@ -111,7 +111,8 @@ class EventMerger implements IEventMerger {
|
|||
|
||||
$event->setRichSubject($newSubject, $parameters)
|
||||
->setParsedSubject($parsedSubject)
|
||||
->setChildEvent($previousEvent);
|
||||
->setChildEvent($previousEvent)
|
||||
->setTimestamp(max($event->getTimestamp(), $previousEvent->getTimestamp()));
|
||||
} catch (\UnexpectedValueException $e) {
|
||||
return $event;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue