Loading src/Form/MessagesForm.php +5 −1 Original line number Diff line number Diff line Loading @@ -103,8 +103,12 @@ class MessagesForm extends FormBase { ]; $options = []; $threads = $this->privateMsgService->getThreadsByUserId($current_user->id()); if ($threads) { $threads = $this->pagerArray($threads, 10); } foreach ($threads as $thread) { $participant_id = $this->privateMsgService->getThreadParticipantByThreadId($thread['thread_id'], $current_user->id()); Loading Loading
src/Form/MessagesForm.php +5 −1 Original line number Diff line number Diff line Loading @@ -103,8 +103,12 @@ class MessagesForm extends FormBase { ]; $options = []; $threads = $this->privateMsgService->getThreadsByUserId($current_user->id()); if ($threads) { $threads = $this->pagerArray($threads, 10); } foreach ($threads as $thread) { $participant_id = $this->privateMsgService->getThreadParticipantByThreadId($thread['thread_id'], $current_user->id()); Loading