This commit is contained in:
Massimiliano Assante 2022-10-19 17:12:56 +02:00
parent 93d7af4473
commit a4b8e945d6
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ public class Notifications {
GCubeUser jarvis = UserManagerWSBuilder.getInstance().getUserManager().getUserByEmail(LiferayJSONWsCredentials.getSingleton().getUser());
SecurityTokenProvider.instance.set(LiferayJSONWsCredentials.getSingleton().getNotifierUserToken());
username = jarvis.getUsername();
fullName = caller.getClient().getId(); // the actual name of the IAM Client
fullName = caller.getClient().getId().replace("service-account-", ""); // the actual name of the IAM Client
senderUser = um.getUserByUsername(username);
user = new SocialNetworkingUser(senderUser.getUsername(), senderUser.getEmail(), fullName, senderUser.getUserAvatarURL());
}else{