[RedditBridge] Return back NSFW posts to feed (#2257)

As it was working before applying https://github.com/RSS-Bridge/rss-bridge/pull/2229
This commit is contained in:
Bockiii 2021-09-04 15:00:02 +02:00 committed by GitHub
parent 68d9e2ff24
commit bcc15228d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,7 @@ https://gist.github.com/LogMANOriginal/da00cd1e5f0ca31cef8e193509b17fd8
* [b1nj](https://github.com/b1nj)
* [benasse](https://github.com/benasse)
* [Binnette](https://github.com/Binnette)
* [Bockiii](https://github.com/Bockiii)
* [captn3m0](https://github.com/captn3m0)
* [chemel](https://github.com/chemel)
* [Chouchen](https://github.com/Chouchen)

View File

@ -136,7 +136,8 @@ class RedditBridge extends BridgeAbstract {
. ($user ? 'author%3A' : 'subreddit%3A')
. $name
. '&sort='
. $this->getInput('d'))
. $this->getInput('d')
. '&include_over_18=on')
or returnServerError('Unable to fetch posts!');
$decodedValues = json_decode($values);