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