Skip to content

Commit

Permalink
Closes #1705; Fix ungroup of messages after join message
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Dec 23, 2015
1 parent 87982b5 commit bfa7d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-message/message/message.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Template.message.onViewRendered = (context) ->
else
$currentNode.removeClass('new-day')

if previousDataset.groupable is 'false'
if previousDataset.groupable is 'false' or currentDataset.groupable is 'false'
$currentNode.removeClass('sequential')
else
if previousDataset.username isnt currentDataset.username or parseInt(currentDataset.timestamp) - parseInt(previousDataset.timestamp) > RocketChat.settings.get('Message_GroupingPeriod') * 1000
Expand Down

0 comments on commit bfa7d3f

Please sign in to comment.