From eedbecd5abbbe73a0a4da7a274e0066715df5c15 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 12 Apr 2022 08:32:00 -0600 Subject: [PATCH] historysync: add logging of progress --- historysync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/historysync.go b/historysync.go index 31978fe..2f5cb19 100644 --- a/historysync.go +++ b/historysync.go @@ -190,7 +190,7 @@ func (user *User) handleHistorySync(reCheckQueue chan bool, evt *waProto.History if evt == nil || evt.SyncType == nil || evt.GetSyncType() == waProto.HistorySync_INITIAL_STATUS_V3 || evt.GetSyncType() == waProto.HistorySync_PUSH_NAME { return } - description := fmt.Sprintf("type %s, %d conversations, chunk order %d", evt.GetSyncType(), len(evt.GetConversations()), evt.GetChunkOrder()) + description := fmt.Sprintf("type %s, %d conversations, chunk order %d, progress: %d", evt.GetSyncType(), len(evt.GetConversations()), evt.GetChunkOrder(), evt.GetProgress()) user.log.Infoln("Storing history sync with", description) for _, conv := range evt.GetConversations() {