back to jpeg

This commit is contained in:
les
2020-07-08 23:02:08 +02:00
parent 5a5c62efb4
commit fe4ed2cde7
5 changed files with 93 additions and 109 deletions

View File

@@ -74,7 +74,7 @@ Event.prototype.toAP = function (username, locale, to = []) {
if (this.image_path) {
attachment.push({
type: 'Document',
mediaType: 'image/webp',
mediaType: 'image/jpeg',
url: `${config.baseurl}/media/${this.image_path}`,
name: null,
blurHash: null