Skip to content

Commit

Permalink
Merge pull request #9144 from RocketChat/fix-send-to-bottom-issue
Browse files Browse the repository at this point in the history
Fix: Messages being displayed in reverse order
  • Loading branch information
rodrigok committed Dec 15, 2017
2 parents 59bf4dc + 197e6ec commit bb5beb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rocketchat-ui/client/views/app/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,8 @@ Template.room.onCreated(function() {
ChatMessage.update({ rid: this.data._id, 'u._id': role.u._id }, { $pull: { roles: role._id } }, { multi: true });
}
});

this.sendToBottomIfNecessary = () => {};
}); // Update message to re-render DOM

Template.room.onDestroyed(function() {
Expand Down

0 comments on commit bb5beb0

Please sign in to comment.