Added the ability to get the message index number
This commit is contained in:
@@ -86,6 +86,11 @@
|
||||
*/
|
||||
- (NSString *)uid;
|
||||
|
||||
/*!
|
||||
@abstract Returns the message index, this number cannot be used across sessions
|
||||
*/
|
||||
- (NSUInteger)indexNumber;
|
||||
|
||||
/*!
|
||||
@abstract Parses the from list, the result is an NSSet containing CTCoreAddress's
|
||||
*/
|
||||
|
||||
@@ -164,6 +164,10 @@
|
||||
return [NSString stringWithCString:myMessage->msg_uid encoding:NSASCIIStringEncoding];
|
||||
}
|
||||
|
||||
- (NSUInteger)indexNumber {
|
||||
return myMessage->msg_index;
|
||||
}
|
||||
|
||||
|
||||
- (NSSet *)from {
|
||||
if (myFields->fld_from == NULL)
|
||||
|
||||
Reference in New Issue
Block a user