parent
b54c0d4491
commit
ee18ec2aae
@ -1,5 +1,5 @@ |
||||
RocketChat.Migrations.add({ |
||||
version: 81, |
||||
version: 82, |
||||
up: function() { |
||||
RocketChat.models.Rooms.find().forEach((room) => { |
||||
RocketChat.models.Rooms.incMsgCountById(room._id, RocketChat.models.Messages.find({ rid: room._id, t: { $exists: true }}).count()); |
||||
Loading…
Reference in new issue