Browse Source
Improve the comment
Signed-off-by: Vitor Mattos <vitor@php.rio>
pull/7939/head
Vitor Mattos
3 years ago
No known key found for this signature in database
GPG Key ID: B7AB4B76A7CA7318
1 changed files with
1 additions and
1 deletions
-
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] = []; |
|
|
|
|
|
|
|
|