diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2012-05-02 00:10:31 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2012-05-02 00:10:31 -0400 |
| commit | 3bb395e8e315b4e61ce5e661f0606bb09d861c08 (patch) | |
| tree | 79b4af93b7c98b3650cf2101850e5e6725a2dcde /alias-angular/app/js/controllers.js | |
| parent | 40c7d904c328179782745e8452be2a596d29c521 (diff) | |
| download | alias-3bb395e8e315b4e61ce5e661f0606bb09d861c08.tar.gz | |
style cleanups
Diffstat (limited to 'alias-angular/app/js/controllers.js')
| -rw-r--r-- | alias-angular/app/js/controllers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alias-angular/app/js/controllers.js b/alias-angular/app/js/controllers.js index 33feb0d..bbcd7f5 100644 --- a/alias-angular/app/js/controllers.js +++ b/alias-angular/app/js/controllers.js @@ -94,9 +94,9 @@ function RosterCtl($scope, StropheSrv, $log, $rootScope) { $scope.chatWith = function(contact) { $rootScope.$broadcast('msgrequest', contact.name||contact.jid); }; - - $scope.status = function(status) { - var pres = $pres().c("show",{},status); + + $scope.setStatus = function(status) { + var pres = $pres().c("show", {}, status); StropheSrv.send(pres); $rootScope.self["status"] = status; }; |
