Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
updated the alert message content
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienblanc committed Jun 21, 2013
1 parent b405f4d commit 5be6e72
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -43,7 +43,7 @@ public void sendLeads(List<String> users, Lead lead) {
json.put("location", lead.getLocation());
json.put("phone", lead.getPhoneNumber());
json.put("simple-push", categories);
json.put("alert" ,"A new lead has been created");
json.put("alert" ,"Lead " + lead.getName() + "available");

defaultJavaSender.sendTo(users, json, pushApplicationId);
}
Expand All @@ -56,7 +56,7 @@ public void sendBroadCast(Lead lead) {
json.put("location", lead.getLocation());
json.put("phone", lead.getPhoneNumber());
json.put("simple-push", categories);
json.put("alert" ,"A new lead has been accepted");
json.put("alert" ,"lead "+ lead.getName()+"has been accepted");
defaultJavaSender.broadcast(json, pushApplicationId);
}

Expand Down

0 comments on commit 5be6e72

Please sign in to comment.