diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-19 21:13:07 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-04-19 21:13:07 +0300 |
commit | fe5e6737b38d8280d333402638d541813028dd97 (patch) | |
tree | 0b94cf99b8484e826e7c1213c36410f7f2e02783 /lib | |
parent | dd7aca92faa8af4a775776c3646fae5aa8c8b0c7 (diff) |
Keep "self" in name
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/ChatController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php index 16cf11655..da4acde02 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]]['myReactions'] = $reactions; + $messages[$commentIdToIndex[$messageId]]['reactionsSelf'] = $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']['myReactions'] = $reactions; + $messages[$commentIdToIndex[$mid]]['parent']['reactionsSelf'] = $reactions; } } } |