From a5f33d57610a96bc2ac52fad620954eafad783b3 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 5 Jul 2022 18:09:09 +0200 Subject: [PATCH] Add event after quick reply is done --- .../conversation/message/ConversationMessageAction.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/lib/data/conversation/message/ConversationMessageAction.class.php b/files/lib/data/conversation/message/ConversationMessageAction.class.php index 65ff39d..75c6b36 100644 --- a/files/lib/data/conversation/message/ConversationMessageAction.class.php +++ b/files/lib/data/conversation/message/ConversationMessageAction.class.php @@ -14,6 +14,7 @@ use wcf\data\smiley\SmileyCache; use wcf\system\attachment\AttachmentHandler; use wcf\system\bbcode\BBCodeHandler; use wcf\system\conversation\ConversationHandler; +use wcf\system\event\EventHandler; use wcf\system\exception\NamedUserException; use wcf\system\exception\PermissionDeniedException; use wcf\system\exception\UserInputException; @@ -320,6 +321,8 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements 'conversationMessageList' ); + EventHandler::getInstance()->fireAction($this, 'afterQuickReply', $returnValues); + FloodControl::getInstance()->registerContent('com.woltlab.wcf.conversation.message'); return $returnValues; -- 2.20.1