summaryrefslogtreecommitdiff
path: root/doPlayback.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPlayback.go')
-rw-r--r--doPlayback.go8
1 files changed, 7 insertions, 1 deletions
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("-------------------------------------------------")