diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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("") } |
