Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed handling of attachments sent from a bot. #1661

Merged
merged 1 commit into from
Jun 27, 2019

Conversation

tonyanziano
Copy link
Contributor

@tonyanziano tonyanziano commented Jun 26, 2019

Fixes #1362

===

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:

image

Uploading image from Web Chat client control:

image

justinwilaby
justinwilaby previously approved these changes Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image Upload Image contentUrl issue on Bot Framework Emulator 4.3.0
2 participants