function mediaattachments_template(status) { let media_views = ""; if(status.media_attachments[0].remote_url != null) { status.media_attachments[0].url = status.media_attachments[0].remote_url; } if ( status.media_attachments[0].url === "/files/original/missing.png" ) { return ""; } else if ( !status.sensitive ) { media_views = `
${NotificationObj.status.content}
${NotificationObj.status.content}