Conversation.loadQuoteThumbnail: Be resilient to no attachments

pull/1/head
Scott Nonnenberg 7 years ago
parent a6467d4fda
commit 04d186c05a
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

@ -1157,6 +1157,10 @@
const { quote } = message.attributes;
const { attachments } = quote;
const first = attachments[0];
if (!first) {
return false;
}
const { thumbnail } = first;
if (!thumbnail) {

Loading…
Cancel
Save