• Jonne Haß's avatar
    Diaspora::Federation::Receive::ignore_existing_guid returns nil when · 5d318400
    Jonne Haß authored
    ignoring the error message
    
    Previously it returned the return value of Logging::Logger#warn, which
    is true for loggers that log the warn level. However
    Diaspora::Federation::Receive::receive_relayable checks the return value
    for truthiness in order to decide whether to attempt to relay it,
    resulting in a NoMethodError: undefined method `parent' for
    true:TrueClass in Diaspora::Federation::Receive::relay_relayable
    
    This change is cosmetic as the exception raised prevented any action
    that shouldn't happen anyway, so there's no actual logic change.
    5d318400
Name
Last commit
Last update
app Loading commit data...
bin Loading commit data...
config Loading commit data...
db Loading commit data...
features Loading commit data...
graphics Loading commit data...
lib Loading commit data...
public Loading commit data...
script Loading commit data...
spec Loading commit data...
tmp/pids Loading commit data...
vendor Loading commit data...
.editorconfig Loading commit data...
.eslintrc Loading commit data...
.foreman Loading commit data...
.gitignore Loading commit data...
.haml-lint.yml Loading commit data...
.hound.yml Loading commit data...
.rspec Loading commit data...
.rubocop.yml Loading commit data...
.ruby-gemset Loading commit data...
.ruby-version Loading commit data...
.scss-lint.yml Loading commit data...
.slugignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
COPYRIGHT Loading commit data...
Changelog.md Loading commit data...
FederationProcfile Loading commit data...
GNU-AGPL-3.0 Loading commit data...
Gemfile Loading commit data...
Gemfile.lock Loading commit data...
Guardfile Loading commit data...
Procfile Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
browserlist Loading commit data...
config.ru Loading commit data...
redis-integration1.conf Loading commit data...
redis-integration2.conf Loading commit data...