mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
mark log
This commit is contained in:
parent
53c28a954a
commit
be0b5422ee
@ -298,7 +298,6 @@ func (m *MsgMongoDriver) MarkSingleChatMsgsAsRead(ctx context.Context, userID st
|
|||||||
SetFilter(filter).
|
SetFilter(filter).
|
||||||
SetUpdate(update)
|
SetUpdate(update)
|
||||||
updates = append(updates, updateModel)
|
updates = append(updates, updateModel)
|
||||||
|
|
||||||
}
|
}
|
||||||
_, err := m.MsgCollection.BulkWrite(ctx, updates)
|
_, err := m.MsgCollection.BulkWrite(ctx, updates)
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user