summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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("")
}