diaspora/spec/shared_behaviors
Jonne Haß 5d318400c9
Diaspora::Federation::Receive::ignore_existing_guid returns nil when
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.
2016-06-26 17:01:33 +02:00
..
account_deletion.rb Revert "Back out #6723 due to Postgres breakage" 2016-03-04 14:01:31 +01:00
dispatcher.rb add author to subscribers of public shareables to ensure local delivery 2016-06-26 06:21:02 +02:00
receiving.rb Diaspora::Federation::Receive::ignore_existing_guid returns nil when 2016-06-26 17:01:33 +02:00
relayable.rb don't send relayables back to sender pod 2016-06-26 06:21:02 +02:00
stream.rb Remove contacts_title method and translations 2016-02-09 12:42:21 +01:00
taggable.rb Strip Unicode format characters prior post processing 2015-02-17 23:29:05 +01:00