-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Ignore invalid message reactions
Ignore reactions on messages from apps and bots - Apps and bots will come back with `nil` as their User ID. Previously, posts from non-users, like messages from bots or Slack, were able to be reacted to. This would cause messages to be posted without proper attribution. Don't allow users to react to .webm - The Slack attachments API doesn't currently support .webm. In the future, we can add additional formats that are not allowed. Alert user when messages cannot post - If a message cannot be posted, then send a DM to the user so they know exactly why their message reaction has not posted.
- Loading branch information
1 parent
6a9f3b7
commit fb2e3db
Showing
2 changed files
with
128 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters