[COMPONENT][Notification] Re-introduce the concept of note attention

Minor refactoring and bug fixing
This commit is contained in:
2022-02-16 06:56:59 +00:00
parent e70acd5c3b
commit 2d5fac7a89
5 changed files with 124 additions and 36 deletions

View File

@@ -86,7 +86,7 @@ class RepeatNote extends NoteHandlerPlugin
content_type: $note->getContentType(),
locale: \is_null($lang_id = $note->getLanguageId()) ? null : Language::getById($lang_id)->getLocale(),
// If it's a repeat, the reply_to should be to the original, conversation ought to be the same
reply_to_id: $note->getReplyTo(),
reply_to: $note->getReplyTo(),
processed_attachments: $note->getAttachmentsWithTitle(),
notify: false,
rendered: $note->getRendered(),