mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00
Show clean feedback message texts, which is always stripped from quoted text in emails
This commit is contained in:
parent
2b32b40a5e
commit
155e8a72bc
@ -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"] ?: @"";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user