diff --git a/app/js/controllers.js b/app/js/controllers.js index bc72d660..991944be 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -550,7 +550,6 @@ angular.module('myApp.controllers', []) !curMessage.action && curMessage.date < prevMessage.date + 900) { - var singleLine = curMessage.message && curMessage.message.length < 70 && curMessage.message.indexOf("\n") == -1; curMessage.grouped = !curMessage.fwd_from_id && singleLine ? 1 : 2; } else if (prevMessage || !i) { @@ -823,6 +822,7 @@ angular.module('myApp.controllers', []) } }; $scope.history = newHistory; + updateHistoryGroups(); } }) diff --git a/app/partials/im.html b/app/partials/im.html index 84b38c4c..5f6d82ff 100644 --- a/app/partials/im.html +++ b/app/partials/im.html @@ -46,7 +46,7 @@
@@ -88,7 +88,7 @@ Show all messages - +{{missedCount}} +