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
path: root/lib
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-04-19 20:36:41 +0300
committerVitor Mattos <vitor@php.rio>2022-04-19 20:53:30 +0300
commitbfdca047821bd836edd478c1f430437daec397a6 (patch)
tree4a84698a9876ec1d85b88651675df462ccbae6f6 /lib
parent9b9d30b9f7ef266af317c17ca33c157451027ba8 (diff)
VueJS Changes to move my reactions to parent
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/ChatController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php
index de0a0d7b7..16cf11655 100644
--- a/lib/Controller/ChatController.php
+++ b/lib/Controller/ChatController.php
@@ -555,14 +555,14 @@ class ChatController extends AEnvironmentAwareController {
// Inject the reactions self into the $messages array
foreach ($reactionsById as $messageId => $reactions) {
if (isset($messages[$commentIdToIndex[$messageId]])) {
- $messages[$commentIdToIndex[$messageId]]['reactions']['self'] = $reactions;
+ $messages[$commentIdToIndex[$messageId]]['myReactions'] = $reactions;
}
// Add the self part also to potential parent elements
if (isset($parentMap[$messageId])) {
foreach ($parentMap[$messageId] as $mid) {
if (isset($messages[$commentIdToIndex[$mid]])) {
- $messages[$commentIdToIndex[$mid]]['parent']['reactions']['self'] = $reactions;
+ $messages[$commentIdToIndex[$mid]]['parent']['myReactions'] = $reactions;
}
}
}