Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed handling of attachments sent from a bot. #1661
The issue was that the attachment data sent from a bot is already an encoded base64 string, and is not a buffer that needs to be converted, whereas attachments uploaded via the Web Chat client's paperclip button arrive as a buffer that needs to be converted.
The latter case was fixed in #1364.
This will fix the former case.
Uploading image from bot code:
Uploading image from Web Chat client control: