diaspora/lib/diaspora
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
..
federated use the parent author of the target as sender for relayable retractions 2016-06-26 11:05:23 +02:00
federation Diaspora::Federation::Receive::ignore_existing_guid returns nil when 2016-06-26 17:01:33 +02:00
fetcher remove post fetcher 2016-06-26 06:21:01 +02:00
fields remove diaspora_handle setter to set author 2016-06-26 06:21:02 +02:00
markdownify Add rel="noopener noreferrer" to autolinks 2016-06-19 13:43:43 +02:00
camo.rb Add Camo for <img>-tags inside Markdown contents 2014-11-10 02:19:45 +01:00
commentable.rb Notifications for comments on local posts by non-contacts 2015-10-14 22:32:19 +02:00
exceptions.rb remove more unused code and cleanup 2016-06-26 06:21:01 +02:00
exporter.rb Add JSON exporter for user profile download 2014-12-16 08:55:35 +13:00
federated.rb remove old SignedRetraction and RelayableRetraction 2016-06-26 06:21:01 +02:00
federation.rb extract mappings between diaspora and the federation gem 2016-06-26 06:21:02 +02:00
fetcher.rb remove post fetcher 2016-06-26 06:21:01 +02:00
likeable.rb remove conditions on association deprecation warnings 2014-08-23 16:34:00 +02:00
logging.rb add logging mixin and replace federation-logger 2015-06-04 04:16:03 +02:00
markdownify.rb Refactor config/ directory 2013-05-19 18:54:54 +02:00
mentionable.rb let mention-regex only match usable strings 2016-01-28 18:47:13 +01:00
message_renderer.rb the special case is not required anymore 2016-04-19 08:28:47 +03:00
relayable.rb use the parent author as salmon sender, if the parent author is local 2016-06-26 10:28:32 +02:00
shareable.rb add author to subscribers of public shareables to ensure local delivery 2016-06-26 06:21:02 +02:00
taggable.rb Fix tag rendering in emails 2015-05-31 01:47:05 +02:00