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

reddit: fix slash-info wrongly calling output funcs as commanded #1889

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

dgw
Copy link
Member

@dgw dgw commented Jun 11, 2020

Description

Tin. @kwaaak pointed out on IRC that inline reddit stuff generates a response even if the user/subreddit doesn't exist, when it would make more sense to fail silently. Looks like that was the intent, but the implementation was wrong.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

@dgw dgw added the Bugfix Generally, PRs that reference (and fix) one or more issue(s) label Jun 11, 2020
@dgw dgw added this to the 7.1.0 milestone Jun 11, 2020
@antdude
Copy link

antdude commented Jun 11, 2020

Is this related to like r/c? Example:

[12:47pm] Ant> r/c
12:47PM URL> No such subreddit.

@dgw
Copy link
Member Author

dgw commented Jun 11, 2020

Yes, this change makes the bot ignore that nonexistent subreddit name instead of outputting the error message you see there.

@antdude
Copy link

antdude commented Jun 11, 2020

Thank you dgw!

@dgw dgw requested a review from a team June 12, 2020 20:08
@dgw dgw merged commit cf2b66a into master Jun 17, 2020
@dgw dgw deleted the reddit-inline-silent branch June 17, 2020 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Generally, PRs that reference (and fix) one or more issue(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants