(chat database.Chat)
| 712 | } |
| 713 | |
| 714 | func (c *turnWorkspaceContext) selectWorkspace(chat database.Chat) { |
| 715 | c.setCurrentChat(chat) |
| 716 | c.clearCachedWorkspaceState() |
| 717 | } |
| 718 | |
| 719 | func (c *turnWorkspaceContext) currentWorkspaceMatches(expected uuid.NullUUID) (database.Chat, bool) { |
| 720 | chatSnapshot := c.currentChatSnapshot() |