Skip to content

Commit

Permalink
Update to google hangouts notification to add links to the newly regi…
Browse files Browse the repository at this point in the history
…stered user
  • Loading branch information
matallen committed Mar 13, 2019
1 parent 9500b74 commit af7551e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/redhat/sso/ninja/Heartbeat2.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public boolean addNewlyRegisteredUsers(Database2 db){

// Notify everyone on the Ninja chat group of a new registree
String displayName=userInfo.containsKey("displayName")?userInfo.get("displayName"):userInfo.get("username");
new ChatNotification().send("New User Registered: <https://mojo.redhat.com/people/"+userInfo.get("username")+">|"+displayName+">");
new ChatNotification().send("New User Registered: <https://mojo.redhat.com/people/"+userInfo.get("username")+"|"+displayName+">");

}else if (dbUsers.containsKey(userInfo.get("username"))){
log.debug("User already registered: "+userInfo.get("username"));
Expand Down

0 comments on commit af7551e

Please sign in to comment.