You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although this doesn't happen if you pass the returned value from Resource#getFile() to RichEmbed#setThumbnail(File file) or RichEmbed#setImage(File file).
I believe the issue resides in DLUtil#readAllBytes(Resource resource), the issue is most likely a result of a possible inconsistency in how InputStream#read() has been implemented in FileInputStream and URL#openStream().
On the other hand, there might just be an issue with the fileName in the file upload payload.
The text was updated successfully, but these errors were encountered:
when you send a
RichEmbed
with aResource
for a thumbnail or image the embed gets sent but the image/thumbnail is left out.Although this doesn't happen if you pass the returned value from
Resource#getFile()
toRichEmbed#setThumbnail(File file)
orRichEmbed#setImage(File file)
.I believe the issue resides in
DLUtil#readAllBytes(Resource resource)
, the issue is most likely a result of a possible inconsistency in howInputStream#read()
has been implemented inFileInputStream
andURL#openStream()
.On the other hand, there might just be an issue with the
fileName
in the file upload payload.The text was updated successfully, but these errors were encountered: