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

Reject cross-channel message references (discord) #1345

Merged
merged 1 commit into from
Dec 31, 2020

Conversation

qaisjp
Copy link
Collaborator

@qaisjp qaisjp commented Dec 31, 2020

Discord message references have been designed in a way for this to
support cross-channel or even cross-guild references in the future.

This will ensure the ParentID is not set when the message refers to a
message that was sent in a different channel.

Discord message references have been designed in a way for this to
support cross-channel or even cross-guild references in the future.

This will ensure the ParentID is *not* set when the message refers to a
message that was sent in a different channel.
@codeclimate
Copy link

codeclimate bot commented Dec 31, 2020

Code Climate has analyzed commit b657252 and detected 0 issues on this pull request.

View more on Code Climate.

@42wim 42wim added this to the 1.21.0 milestone Dec 31, 2020
@qaisjp qaisjp merged commit 1a4717b into 42wim:master Dec 31, 2020
@qaisjp qaisjp deleted the future-proof branch December 31, 2020 16:21
@42wim 42wim added the discord label Dec 31, 2020
@Gothicania
Copy link

Discord message references have been designed in a way for this to
support cross-channel or even cross-guild references in the future.

This will ensure the ParentID is not set when the message refers to a
message that was sent in a different channel.

@Gothicania
Copy link

commit b657252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants