implement creating new conversation

This commit is contained in:
2026-05-01 01:36:04 +03:30
parent ba507ca6c3
commit 4776af5c2a
10 changed files with 886 additions and 80 deletions

View File

@@ -45,6 +45,14 @@ class ConversationView extends Component
$this->markAsRead();
}
#[On('conversation-updated')]
public function refreshConversation(int $conversationId): void
{
if ($conversationId === $this->conversationId) {
unset($this->conversation);
}
}
#[Computed]
public function conversation(): Conversation
{