Compare commits

..

No commits in common. "d4137c82ca850c4c42f2f5d3c015a4b7c057f5d4" and "7514891106b7c7acf6d981f737eca485d5e2f48a" have entirely different histories.

View file

@ -70,7 +70,7 @@ export const prepareNotificationObject = (notification, i18n) => {
}
// Shows first attached non-nsfw image, if any. Should add configuration for this somehow...
if (!status?.nsfw && status?.attachments?.[0]?.mimetype.startsWith('image/')) {
if (!status.nsfw && status?.attachments?.[0]?.mimetype.startsWith('image/')) {
notifObj.image = status.attachments[0].url
}