mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 12:08:52 +08:00
is read
This commit is contained in:
parent
43f782b6ce
commit
662584a115
@ -445,6 +445,9 @@ func (db *commonMsgDatabase) getMsgBySeqsRange(ctx context.Context, userID strin
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, msg := range msgs {
|
for _, msg := range msgs {
|
||||||
|
if msg.IsRead {
|
||||||
|
msg.Msg.IsRead = true
|
||||||
|
}
|
||||||
seqMsgs = append(seqMsgs, convert.MsgDB2Pb(msg.Msg))
|
seqMsgs = append(seqMsgs, convert.MsgDB2Pb(msg.Msg))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user