@ -7,6 +7,9 @@ Meteor.startup(function() {
action() {
const message = this._arguments[1];
RocketChat.MessageAction.hideDropDown();
if (window.matchMedia('(max-width: 500px)').matches) {
Template.instance().tabBar.close();
}
return RoomHistoryManager.getSurroundingMessages(message, 50);
},
validation(message) {
@ -62,6 +62,9 @@ Meteor.startup(function() {
@ -54,6 +54,9 @@ Meteor.startup(function() {