diff --git a/doPlayback.go b/doPlayback.go index 2711598..33f57ec 100644 --- a/doPlayback.go +++ b/doPlayback.go @@ -23,10 +23,16 @@ func showChat(uuid string) { log.Info("unknown uuid", uuid) return } - listEntries(chat) } func listChats(chats *chatpb.Chats) { + if argv.Playback.Long != nil { + for _, chat := range chats.GetChats() { + listEntries(chat) + } + return + } + log.Infof("Found %d chat topic(s) in the log.", len(chats.GetChats())) fmt.Println("-------------------------------------------------")