mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 18:11:03 +01:00
Use domain name for message IDs
This commit is contained in:
@@ -187,7 +187,11 @@ public class EntityMessage implements Serializable {
|
||||
public Long last_attempt; // send
|
||||
|
||||
static String generateMessageId() {
|
||||
return "<" + UUID.randomUUID() + "@localhost" + '>';
|
||||
return generateMessageId("localhost");
|
||||
}
|
||||
|
||||
static String generateMessageId(String domain) {
|
||||
return "<" + UUID.randomUUID() + "@" + domain + '>';
|
||||
}
|
||||
|
||||
boolean replySelf(List<TupleIdentityEx> identities, long account) {
|
||||
|
||||
Reference in New Issue
Block a user