diff options
| author | Castor Gemini <[email protected]> | 2025-08-22 04:08:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-22 04:08:54 -0500 |
| commit | 126495ff38f6932f69d5e2996e16185fc269ed33 (patch) | |
| tree | 47d428d21a99332a762e7be7517599f6664d56fe /main.go | |
| parent | 76ef21fc66db127098ddd634fd7e2a52abb81193 (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.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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("") } |
