Compare commits
2 commits
f6560a85fd
...
75277c5b03
Author | SHA1 | Date | |
---|---|---|---|
75277c5b03 | |||
a68bc91459 |
2 changed files with 7 additions and 5 deletions
|
@ -78,11 +78,13 @@ public class DatabaseRepository {
|
|||
p.addCompletion(new Completion(0, 0));
|
||||
}
|
||||
}
|
||||
if (hasColumn(playerResult, "name")) {
|
||||
// Manage groups
|
||||
String groupName = playerResult.getString("name");
|
||||
if (groupName != null) {
|
||||
p.addGroup(makeGroup(playerResult));
|
||||
}
|
||||
}
|
||||
|
||||
// ADD rank
|
||||
PreparedStatement completionsStmt = DatabaseQuery.GET_PLAYER_RANK.prepare(con);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class Mail {
|
|||
msg.addHeader("format", "flowed");
|
||||
msg.addHeader("Content-Transfer-Encoding", "8bit");
|
||||
|
||||
msg.setFrom(new InternetAddress(fromAddress, "NoReply-JD"));
|
||||
msg.setFrom(new InternetAddress(fromAddress, "Peer-at Code"));
|
||||
msg.setReplyTo(InternetAddress.parse(fromAddress, false));
|
||||
msg.setSubject(subject, "UTF-8");
|
||||
msg.setText(text, "UTF-8");
|
||||
|
|
Loading…
Add table
Reference in a new issue