avoid broadcasting error messages
This commit is contained in:
parent
80b4c595a0
commit
26aaa5b051
1 changed files with 1 additions and 1 deletions
2
angular_app/js/controllers.js
vendored
2
angular_app/js/controllers.js
vendored
|
@ -292,7 +292,7 @@ eventManControllers.controller('EventTicketsCtrl', ['$scope', '$state', 'Event',
|
||||||
$log.debug('do not process our own message');
|
$log.debug('do not process our own message');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (data.error && data.message) {
|
if (data.error && data.message && $scope.info.user.username == data.username) {
|
||||||
if (data.searchFor) {
|
if (data.searchFor) {
|
||||||
$scope.query = angular.copy(data.searchFor);
|
$scope.query = angular.copy(data.searchFor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue