Skip to content

Include attachments#212

Merged
szabowexler merged 3 commits intomasterfrom
include-attachments
Jan 11, 2021
Merged

Include attachments#212
szabowexler merged 3 commits intomasterfrom
include-attachments

Conversation

@szabowexler
Copy link
Copy Markdown
Collaborator

This is a simple band-aid PR that begins to tackle the new EVENT_CALLBACK payload. Slack has changed how they deliver events as webhooks. Historically, they would set the type in the top level, and you'd have to deserialize the "event" object depending on what you had.

Now, they outside envelope is much more homogenous (EVENT_CALLBACK as the uniform type). However, this means we have to support both, and adding the new support without breaking the old support is painful. This PR doesn't tackle that problem since it's MUCH larger than this, it simply adjusts the way messages are deserialized to include important information so we can still operate over bot messages.

@szabowexler szabowexler merged commit 8805e82 into master Jan 11, 2021
@szabowexler szabowexler deleted the include-attachments branch January 11, 2021 20:56
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.

1 participant