Browse Source

Improve the comment

Signed-off-by: Vitor Mattos <vitor@php.rio>
pull/7939/head
Vitor Mattos 3 years ago
parent
commit
88da3cd63c
No known key found for this signature in database GPG Key ID: B7AB4B76A7CA7318
  1. 2
      lib/Controller/ChatController.php

2
lib/Controller/ChatController.php

@ -792,7 +792,7 @@ class ChatController extends AEnvironmentAwareController {
$messages = $this->getFilteredMessages(array_merge(...array_values($messageIdsByType)));
$messagesByType = [];
// Group the messages again using the filtered comments
// Convert list of $messages to array grouped by type
foreach ($objectTypes as $objectType) {
$messagesByType[$objectType] = [];

Loading…
Cancel
Save