]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
More debugging in Salmon since we get situations which can't find inReplyToID
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Apr 2016 21:10:34 +0000 (23:10 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Apr 2016 21:10:34 +0000 (23:10 +0200)
plugins/OStatus/actions/usersalmon.php

index ea5262aa3bc0a351ee0e20212724d4ba9f7da0b7..fd7b12317d7a6478133d14789d5f63ebd2506e5a 100644 (file)
@@ -43,7 +43,9 @@ class UsersalmonAction extends SalmonAction
         if (!empty($this->activity->context->replyToID)) {
             try {
                 $notice = Notice::getByUri($this->activity->context->replyToID);
+                common_debug('Referenced Notice object found with URI: '.$notice->getUri());
             } catch (NoResultException $e) {
+                common_debug('Referenced Notice object NOT found with URI: '.$this->activity->context->replyToID);
                 $notice = false;
             }
         }