improved read hide

This commit is contained in:
Igor Zhukov 2014-03-09 23:05:56 +01:00
parent f1b1e0ea96
commit 424f15cbca

View File

@ -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++;