Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble-iphoneos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2013-06-09 17:30:08 +0400
committerMikkel Krautz <mikkel@krautz.dk>2013-06-09 17:30:08 +0400
commit1de57fe790a2cacf8fce70c3d83a9422adbc6c71 (patch)
treec98ac8b79b473187612557c93772e60d406ff843 /Source
parent9095c60ecb1be0fc6ee9368a1f677007aa2772c6 (diff)
MUTextMessage: use passed-in date instead of [NSDate date] in factory method.
Diffstat (limited to 'Source')
-rw-r--r--Source/Classes/MUTextMessage.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Classes/MUTextMessage.m b/Source/Classes/MUTextMessage.m
index 2c865f6..5d9756c 100644
--- a/Source/Classes/MUTextMessage.m
+++ b/Source/Classes/MUTextMessage.m
@@ -63,7 +63,7 @@
}
+ (MUTextMessage *) textMessageWithHeading:(NSString *)heading andMessage:(NSString *)msg andEmbeddedLinks:(NSArray *)links andEmbeddedImages:(NSArray *)images andTimestampDate:(NSDate *)timestampDate isSentBySelf:(BOOL)sentBySelf {
- return [[[MUTextMessage alloc] initWithHeading:heading andMessage:msg andDate:[NSDate date] andEmbeddedLinks:links andEmbeddedImages:images andTimestampDate:timestampDate andSentBySelf:sentBySelf] autorelease];
+ return [[[MUTextMessage alloc] initWithHeading:heading andMessage:msg andDate:timestampDate andEmbeddedLinks:links andEmbeddedImages:images andTimestampDate:timestampDate andSentBySelf:sentBySelf] autorelease];
}
@end