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

Add Root field to MessageEvent to support thread_broadcast subtype #793

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

theckman
Copy link
Contributor

@theckman theckman commented Sep 7, 2020

The thread_broadcast subtype includes extra data in the MessageEvent that
we're currently losing, the root field. This is where it puts the message that
is being shared to a channel as a reply to a thread.

Fixes #792

The `thread_broadcast` subtype includes extra data in the MessageEvent that
we're currently losing, the `root` field. This is where it puts the message that
is being shared to a channel as a reply to a thread.

Fixes slack-go#792
Copy link
Member

@kanata2 kanata2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
(BTW, we should have some additional fields(e.g. reply_count, reply_users, etc...) in MessageEvent 😢 )

@kanata2 kanata2 merged commit 74aa38d into slack-go:master Sep 9, 2020
@kanata2 kanata2 added this to the v0.7.0 milestone Oct 2, 2020
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.

slackevents: MessageEvent missing "Root" field for thread_broadcast SubType
2 participants