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

Ignore sending file with comment, if comment contains IgnoreMessages value #1783

Merged
merged 2 commits into from
Mar 31, 2022

Conversation

sas1024
Copy link
Contributor

@sas1024 sas1024 commented Mar 31, 2022

Now IgnoreMessages setting check and attached file comment too.

How I test it:
In Slack bridge configuration I set IgnoreMessages="^~~"

Old Behavior:
Sending message with attached file from Slack to Telegram with file comment "~~ test comment" sends this file to Telegram.

New Behavior:
Sending message with attached file from Slack to Telegram with file comment "~~ test comment" not sends this file to Telegram.

@codeclimate
Copy link

codeclimate bot commented Mar 31, 2022

Code Climate has analyzed commit 9a090f5 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@42wim 42wim added this to the 1.25.0 milestone Mar 31, 2022
@42wim 42wim merged commit 4ab72ac into 42wim:master Mar 31, 2022
@42wim
Copy link
Owner

42wim commented Mar 31, 2022

👍

@sas1024 sas1024 deleted the ignore-file-comment branch April 1, 2022 07:07
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.

2 participants