summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorCastor Gemini <[email protected]>2025-08-22 04:08:54 -0500
committerJeff Carr <[email protected]>2025-08-22 04:08:54 -0500
commit126495ff38f6932f69d5e2996e16185fc269ed33 (patch)
tree47d428d21a99332a762e7be7517599f6664d56fe /main.go
parent76ef21fc66db127098ddd634fd7e2a52abb81193 (diff)
fix(playback): Correctly handle UUID argument
- Update the main command loop to correctly parse and pass the '--uuid' flag to the showChat function. - This fixes the 'invalid subcommand' error and makes the detailed playback view fully functional.
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/main.go b/main.go
index 2f0b5ae..7a10537 100644
--- a/main.go
+++ b/main.go
@@ -58,14 +58,13 @@ func main() {
if err != nil {
badExit(err)
}
- verifyUuids(newChats)
- listChats(newChats)
for _, newChat := range newChats.GetChats() {
me.chats.AppendByUuid(newChat)
}
- listChats(me.chats)
- me.chats.ConfigSave()
+ if verifyUuids(me.chats) {
+ me.chats.ConfigSave()
+ }
okExit("")
}