Regression: Fix sending a message not scrolling to bottom (#16451)

pull/16369/head^2
Guilherme Gazzo 5 years ago committed by GitHub
parent f77caa306e
commit 7bb6242743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/ui-utils/client/lib/RoomManager.js

@ -78,7 +78,7 @@ export const RoomManager = new function() {
// Do not load command messages into channel
if (msg.t !== 'command') {
const subscription = ChatSubscription.findOne({ rid: record.rid }, { reactive: false });
const isNew = !ChatMessage.findOne(msg._id);
const isNew = !ChatMessage.findOne({ _id: msg._id, temp: { $ne: true } });
upsertMessage({ msg, subscription });
msg.room = {

Loading…
Cancel
Save