mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-01 08:29:45 +00:00
fix(mail): preoperly generates the message-id header value
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#import <unistd.h>
|
||||
#import <sys/random.h>
|
||||
|
||||
|
||||
#import <NGObjWeb/SoClass.h>
|
||||
@@ -111,11 +112,28 @@
|
||||
pid, (int) f, sequence++, (int) rndm];
|
||||
}
|
||||
|
||||
|
||||
- (NSString *) globallyUniqueObjectId
|
||||
{
|
||||
return [[self class] globallyUniqueObjectId];
|
||||
}
|
||||
|
||||
+ (NSString *) mailUniqueMessageId
|
||||
{
|
||||
/*
|
||||
843F8180-4E33-7B0B-6F1B-9847CAD3E6EB
|
||||
*/
|
||||
return [[NSUUID UUID] UUIDString];
|
||||
}
|
||||
|
||||
- (NSString *) mailUniqueMessageId
|
||||
{
|
||||
/*
|
||||
843F8180-4E33-7B0B-6F1B-9847CAD3E6EB
|
||||
*/
|
||||
return [[self class] mailUniqueMessageId];
|
||||
}
|
||||
|
||||
/* containment */
|
||||
|
||||
+ (id) objectWithName: (NSString *)_name inContainer:(id)_container
|
||||
|
||||
Reference in New Issue
Block a user