1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 09:26:34 +02:00

perf: store message mentions for better performance (#4079)

This commit is contained in:
Sami Mazouz
2024-10-19 17:49:58 +01:00
committed by GitHub
parent 8742790980
commit e9be7b9aea
23 changed files with 272 additions and 45 deletions

View File

@@ -83,5 +83,7 @@ return [
->type(Notification\MessageReceivedBlueprint::class, ['email']),
(new Extend\Event())
->listen(DialogMessage\Event\Created::class, Listener\SendNotificationWhenMessageSent::class),
->listen(DialogMessage\Event\Created::class, Listener\SendNotificationWhenMessageSent::class)
->listen(DialogMessage\Event\Created::class, Listener\UpdateMentionsMetadataWhenVisible::class)
->listen(DialogMessage\Event\Updated::class, Listener\UpdateMentionsMetadataWhenVisible::class),
];