This commit is contained in:
shoopea 2019-06-08 23:58:27 +08:00
parent d7cda5c5e7
commit 7b292afb4e

4
msg.go
View File

@ -281,10 +281,10 @@ func zipMessages() ([]byte, error) {
m, err := getMsg(id)
logOnError(err, "zipMessages : getMsg")
if err == nil {
append(msgs, m)
append(*msgs, m)
}
}
bkp.Messages = msgs
bkp.Messages = *msgs
b, err := json.Marshal(bkp)
logOnError(err, "exportMessages : Marshal")
if err != nil {