fix(client): msg notification properly leaves after visiting party page

closes #7393
closes #7735
closes #7445
This commit is contained in:
Blade Barringer
2016-06-28 07:37:27 -05:00
parent c9f2389765
commit 24287df702

View File

@@ -2,6 +2,9 @@
habitrpg.controller('ChatCtrl', ['$scope', 'Groups', 'Chat', 'User', '$http', 'ApiUrl', 'Notification', 'Members', '$rootScope', 'Analytics',
function($scope, Groups, Chat, User, $http, ApiUrl, Notification, Members, $rootScope, Analytics){
if ($scope.group) {
Chat.markChatSeen($scope.group.id);
}
$scope.message = {content:''};
$scope._sending = false;