mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 01:55:58 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user