test
This commit is contained in:
parent
1117fca670
commit
bab8e40037
3
msg.go
3
msg.go
@ -355,6 +355,9 @@ func UnzipMessages(z []byte) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Printf("UnzipMessages : %d messages.\n", len(bkp.Messages))
|
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
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user