diff --git a/lib/private/Comments/Manager.php b/lib/private/Comments/Manager.php index 84e1a6a3cb4..eae84c14335 100644 --- a/lib/private/Comments/Manager.php +++ b/lib/private/Comments/Manager.php @@ -1099,6 +1099,10 @@ class Manager implements ICommentsManager { * @since 9.0.0 */ public function save(IComment $comment) { + if ($comment->getVerb() === 'reaction') { + $this->throwIfNotSupportReactions(); + } + if ($this->prepareCommentForDatabaseWrite($comment)->getId() === '') { $result = $this->insert($comment); } else {