This commit is contained in:
shoopea 2019-06-09 22:53:05 +08:00
parent 1117fca670
commit bab8e40037

3
msg.go
View File

@ -355,6 +355,9 @@ func UnzipMessages(z []byte) error {
return err
}
log.Printf("UnzipMessages : %d messages.\n", len(bkp.Messages))
for _, m := range bkp.Messages {
_, err = addObjMsg(m.ID64, m.ChatID64, m.UserID64, m.SenderUserID64, m.Date, m.text)
}
return nil
}
}