mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-02 05:09:18 +08:00
findMsgInfoBySeq
This commit is contained in:
parent
576b699495
commit
d446516be8
@ -407,7 +407,7 @@ func (db *commonMsgDatabase) findMsgInfoBySeq(ctx context.Context, userID, docID
|
||||
} else {
|
||||
for _, seq := range seqs {
|
||||
for i, msg := range msgs {
|
||||
if seq == msg.Msg.Seq {
|
||||
if msg.Msg != nil && seq == msg.Msg.Seq {
|
||||
break
|
||||
}
|
||||
if i == len(msgs)-1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user