Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix to Core Folder tests; senderDate returns nil

Noticed that this change was necessary to get all Core Folder tests passing. Those tests expected senderDate to return nil if there was no message loaded.
  • Loading branch information...
commit dcd20b44d7a169cf9cf6b88a58ea42e313bf7bf9 1 parent b5fee7f
@scottnonnenberg scottnonnenberg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/CTCoreMessage.m
View
2  Source/CTCoreMessage.m
@@ -354,7 +354,7 @@ - (NSTimeZone*)senderTimeZone {
- (NSDate *)senderDate {
if ( myFields->fld_orig_date == NULL) {
- return [NSDate distantPast];
+ return nil;
} else {
struct mailimf_date_time *d;
Please sign in to comment.
Something went wrong with that request. Please try again.