This commit is contained in:
wangchuxiao 2023-06-12 20:45:42 +08:00
parent 43f782b6ce
commit 662584a115

View File

@ -445,6 +445,9 @@ func (db *commonMsgDatabase) getMsgBySeqsRange(ctx context.Context, userID strin
return nil, err
}
for _, msg := range msgs {
if msg.IsRead {
msg.Msg.IsRead = true
}
seqMsgs = append(seqMsgs, convert.MsgDB2Pb(msg.Msg))
}
}