forked from MirrorHub/mautrix-whatsapp
Fix INITIAL_BOOTSTRAP history syncs not being handled
This commit is contained in:
parent
a7d770ea62
commit
bc1bf6079a
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func (user *User) handleHistorySyncsLoop() {
|
|||
}
|
||||
|
||||
func (user *User) handleHistorySync(evt *waProto.HistorySync) {
|
||||
if evt.GetSyncType() != waProto.HistorySync_RECENT && evt.GetSyncType() != waProto.HistorySync_FULL {
|
||||
if evt == nil || evt.SyncType == nil || evt.GetSyncType() == waProto.HistorySync_INITIAL_STATUS_V3 || evt.GetSyncType() == waProto.HistorySync_PUSH_NAME {
|
||||
return
|
||||
}
|
||||
user.log.Infofln("Handling history sync with type %s, %d conversations, chunk order %d, progress %d%%", evt.GetSyncType(), len(evt.GetConversations()), evt.GetChunkOrder(), evt.GetProgress())
|
||||
|
|
Loading…
Reference in a new issue