mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +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.id = messageID;
|
||||||
matchingSendInProgressOrInConflictMessage.status = BITFeedbackMessageStatusRead;
|
matchingSendInProgressOrInConflictMessage.status = BITFeedbackMessageStatusRead;
|
||||||
} else {
|
} else {
|
||||||
if ([(NSDictionary *)objMessage objectForKey:@"text"]) {
|
if ([(NSDictionary *)objMessage objectForKey:@"clean_text"] || [(NSDictionary *)objMessage objectForKey:@"text"]) {
|
||||||
BITFeedbackMessage *message = [[[BITFeedbackMessage alloc] init] autorelease];
|
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.name = [(NSDictionary *)objMessage objectForKey:@"name"] ?: @"";
|
||||||
message.email = [(NSDictionary *)objMessage objectForKey:@"email"] ?: @"";
|
message.email = [(NSDictionary *)objMessage objectForKey:@"email"] ?: @"";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user