Merge branch 'charlesmchen/attachmentEmojis'

pull/1/head
Matthew Chen 7 years ago
commit dd36c945e4

@ -181,9 +181,13 @@ NSUInteger const TSAttachmentSchemaVersion = 4;
if ([MIMETypeUtil isImage:contentType]) {
return @"📷";
} else if ([MIMETypeUtil isVideo:contentType]) {
return @"📽";
return @"🎥";
} else if ([MIMETypeUtil isAudio:contentType]) {
return @"📻";
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(11, 0)) {
return @"🎧";
} else {
return @"📻";
}
} else if ([MIMETypeUtil isAnimated:contentType]) {
return @"🎡";
} else {

Loading…
Cancel
Save