EventDispatcher: Store comment name in event metadata

This will probably be useful later, so better to ensure
the data is captured now.

Change-Id: I8936ee85a2775ad48839e9c3ebf5bc3d5355c501
This commit is contained in:
Ed Sanders 2021-04-21 13:36:29 +01:00 committed by Bartosz Dziewoński
parent a9537782ac
commit 2f40fd96b1

View file

@ -121,6 +121,7 @@ class EventDispatcher {
'extra' => [
'subscribed-comment-name' => $heading->getName(),
'comment-id' => $newComment->getId(),
'comment-name' => $newComment->getName(),
'content' => $newComment->getBodyText( true ),
'section-title' => $heading->getText(),
'revid' => $newRevRecord->getId(),