Fix richEmbed attachFile

This commit is contained in:
Crawl
2017-03-16 17:07:11 +01:00
parent 6983798820
commit 2237749d29

View File

@@ -79,6 +79,8 @@ class TextBasedChannel {
options = {}; options = {};
} }
if (options.embed && options.embed.file) options.file = options.embed.file;
// backward compat // backward compat
if (options.file) { if (options.file) {
if (options.files) options.files.push(options.file); if (options.files) options.files.push(options.file);