forked from keinBot/cuffeo
Update src/clients/matrix.mjs
This commit is contained in:
@@ -170,7 +170,6 @@ export default class matrix extends EventEmitter {
|
|||||||
mxcUrl: mxcUrl,
|
mxcUrl: mxcUrl,
|
||||||
type: relatedContent.msgtype,
|
type: relatedContent.msgtype,
|
||||||
filename: relatedContent.filename || relatedContent.body, // fallback to body if filename missing
|
filename: relatedContent.filename || relatedContent.body, // fallback to body if filename missing
|
||||||
filename: relatedContent.filename || relatedContent.body, // fallback to body if filename missing
|
|
||||||
mimetype: relatedContent.info?.mimetype || null
|
mimetype: relatedContent.info?.mimetype || null
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user