]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Let the remote side know the Salmon was accepted (sorta)
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 16 Jan 2016 21:39:59 +0000 (22:39 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 16 Jan 2016 21:39:59 +0000 (22:39 +0100)
plugins/OStatus/lib/salmonaction.php

index fad5d0cfe51dbbffb1bf124d3157f0f8b031a585..41e4262498340d4cd13d03853dc9e8680b04aa55 100644 (file)
@@ -109,6 +109,7 @@ class SalmonAction extends Action
             // duplicate? Maybe someone's database is out of sync?
             // Let's just accept it and move on.
             common_log(LOG_INFO, 'Salmon slap carried an event which had already been fulfilled.');
+            return true;
         } catch (NoticeSaveException $e) {
             common_debug('Notice::saveActivity did not save our '._ve($this->activity->verb).' activity, trying old-fashioned salmon saving.');
         }