mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
+ Attachment handling
This commit is contained in:
parent
1c120b9588
commit
3f7e6904a6
@ -709,7 +709,7 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ([(NSDictionary *)objMessage objectForKey:@"clean_text"] || [(NSDictionary *)objMessage objectForKey:@"text"]) {
|
||||
if ([(NSDictionary *)objMessage objectForKey:@"clean_text"] || [(NSDictionary *)objMessage objectForKey:@"text"] || [(NSDictionary *)objMessage objectForKey:@"attachments"]) {
|
||||
BITFeedbackMessage *message = [[BITFeedbackMessage alloc] init];
|
||||
message.text = [(NSDictionary *)objMessage objectForKey:@"clean_text"] ?: [(NSDictionary *)objMessage objectForKey:@"text"] ?: @"";
|
||||
message.name = [(NSDictionary *)objMessage objectForKey:@"name"] ?: @"";
|
||||
@ -1018,6 +1018,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
#endif /* HOCKEYSDK_FEATURE_FEEDBACK */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user