Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/ChatController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php
index da4acde02..1d490d485 100644
--- a/lib/Controller/ChatController.php
+++ b/lib/Controller/ChatController.php
@@ -554,7 +554,7 @@ class ChatController extends AEnvironmentAwareController {
// Inject the reactions self into the $messages array
foreach ($reactionsById as $messageId => $reactions) {
- if (isset($messages[$commentIdToIndex[$messageId]])) {
+ if (isset($commentIdToIndex[$messageId]) && isset($messages[$commentIdToIndex[$messageId]])) {
$messages[$commentIdToIndex[$messageId]]['reactionsSelf'] = $reactions;
}