Private
Public Access
1
0

Better handling of newly saved conversations

When a new conversation is created in the chat view's
`persistConversation`, we now set `rootMessages` appropriately.
This commit is contained in:
2024-06-09 18:42:17 +00:00
parent a2c860252f
commit a22119f738
3 changed files with 7 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ type (
msgMessagesLoaded []models.Message
// sent when the conversation has been persisted, triggers a reload of contents
msgConversationPersisted struct {
isNew bool
conversation *models.Conversation
messages []models.Message
}