diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat.jsp index b52363cebd263621fa9183dd38d184bf52ab8c15..b96abb3cfc1f3bc36ffa39d8e5ec935f8ffbbf95 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/chat.jsp @@ -32,8 +32,6 @@ </ul> </div> - ${userProfile.getUsername()} - <div ng-controller="ChatController"> <div id="scrollArea"> <div ng-repeat="chat in chatList"> @@ -73,7 +71,7 @@ angular.module('chatApp', []) .service('ConverseService', converse) .controller('ChatController', function ($scope, $timeout, ConverseService) { - let account = new ConverseService.User(${userProfile.getUsername()}) + let account = new ConverseService.User(${userProfile.getId()}) $scope.chatList = []