Skip to content

Commit

Permalink
[FIX] Jump to message search result action (#11613)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored and sampaiodiego committed Jul 31, 2018
1 parent abfe38c commit ef8a9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui/client/lib/RoomHistoryManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const RoomHistoryManager = new class {
}

return Meteor.call('loadSurroundingMessages', message, limit, function(err, result) {
if (!result || result.messages) {
if (!result || !result.messages) {
return;
}
for (const msg of Array.from(result.messages)) {
Expand Down

0 comments on commit ef8a9e3

Please sign in to comment.