implement search in messages

This commit is contained in:
2026-05-01 11:06:33 +03:30
parent 9162c9b5c9
commit 3188999a96
5 changed files with 226 additions and 10 deletions

View File

@@ -98,6 +98,11 @@ class ConversationHeader extends Component
$this->dispatch('conversation-details-toggled');
}
public function toggleSearch(): void
{
$this->dispatch('conversation-search-toggled', conversationId: $this->conversationId);
}
private function otherParticipant(): ?User
{
return $this->conversation->participants