forked from GNUsocial/gnu-social
More debugging in Salmon since we get situations which can't find inReplyToID
This commit is contained in:
@@ -43,7 +43,9 @@ class UsersalmonAction extends SalmonAction
|
|||||||
if (!empty($this->activity->context->replyToID)) {
|
if (!empty($this->activity->context->replyToID)) {
|
||||||
try {
|
try {
|
||||||
$notice = Notice::getByUri($this->activity->context->replyToID);
|
$notice = Notice::getByUri($this->activity->context->replyToID);
|
||||||
|
common_debug('Referenced Notice object found with URI: '.$notice->getUri());
|
||||||
} catch (NoResultException $e) {
|
} catch (NoResultException $e) {
|
||||||
|
common_debug('Referenced Notice object NOT found with URI: '.$this->activity->context->replyToID);
|
||||||
$notice = false;
|
$notice = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user