Show clean feedback message texts, which is always stripped from quoted text in emails

This commit is contained in:
Andreas Linde 2012-10-22 01:13:27 +02:00
parent 2b32b40a5e
commit 155e8a72bc

View File

@ -634,9 +634,9 @@
matchingSendInProgressOrInConflictMessage.id = messageID;
matchingSendInProgressOrInConflictMessage.status = BITFeedbackMessageStatusRead;
} else {
if ([(NSDictionary *)objMessage objectForKey:@"text"]) {
if ([(NSDictionary *)objMessage objectForKey:@"clean_text"] || [(NSDictionary *)objMessage objectForKey:@"text"]) {
BITFeedbackMessage *message = [[[BITFeedbackMessage alloc] init] autorelease];
message.text = [(NSDictionary *)objMessage objectForKey:@"text"] ?: @"";
message.text = [(NSDictionary *)objMessage objectForKey:@"clean_text"] ?: [(NSDictionary *)objMessage objectForKey:@"text"] ?: @"";
message.name = [(NSDictionary *)objMessage objectForKey:@"name"] ?: @"";
message.email = [(NSDictionary *)objMessage objectForKey:@"email"] ?: @"";