Browse Source

improved read hide

master
Igor Zhukov 11 years ago
parent
commit
424f15cbca
  1. 4
      app/js/controllers.js

4
app/js/controllers.js

@ -598,7 +598,9 @@ angular.module('myApp.controllers', []) @@ -598,7 +598,9 @@ angular.module('myApp.controllers', [])
$scope.history.push(AppMessagesManager.wrapForHistory(addedMessage.messageID));
$scope.typing = {};
$scope.$broadcast('ui_history_append', {my: addedMessage.my});
$scope.historyUnread = {};
if (addedMessage.my) {
$scope.historyUnread = {};
}
offset++;

Loading…
Cancel
Save