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:
@@ -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),
|
||||
];
|
||||
|
Reference in New Issue
Block a user