send messages to users from the home page (SYWEB-19)

This commit is contained in:
Matthew Hodgson 2014-09-23 13:36:58 +01:00
parent 997a016122
commit 4847045259
3 changed files with 42 additions and 4 deletions

View file

@ -38,7 +38,8 @@ angular.module('UserController', ['matrixService'])
$scope.user.avatar_url = response.data.avatar_url;
}
);
// FIXME: factor this out between user-controller and home-controller etc.
$scope.messageUser = function() {
// FIXME: create a new room every time, for now