From 3bb395e8e315b4e61ce5e661f0606bb09d861c08 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 2 May 2012 00:10:31 -0400 Subject: style cleanups --- alias-angular/app/js/controllers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alias-angular/app/js/controllers.js') 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; }; -- cgit v1.2.3-70-g09d2