summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-22 04:00:41 -0500
committerJeff Carr <[email protected]>2025-08-22 04:00:41 -0500
commit76ef21fc66db127098ddd634fd7e2a52abb81193 (patch)
treed55e5523990eff367ddd60d251cf7c587cd555bf /main.go
parent8f9726c6e47c2c722137f2d2aabe4c507ece5c14 (diff)
new logging
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/main.go b/main.go
index 7d294f1..2f0b5ae 100644
--- a/main.go
+++ b/main.go
@@ -58,15 +58,14 @@ func main() {
if err != nil {
badExit(err)
}
+ verifyUuids(newChats)
+ listChats(newChats)
for _, newChat := range newChats.GetChats() {
me.chats.AppendByUuid(newChat)
}
+ listChats(me.chats)
- // The verifyUuids function should be run on the main chats object
- // after adding the new chats.
- if verifyUuids(me.chats) {
- me.chats.ConfigSave()
- }
+ me.chats.ConfigSave()
okExit("")
}