forked from GNUsocial/gnu-social
debugging replyToID
This commit is contained in:
parent
27626c3abf
commit
bb9353f6e0
@ -76,6 +76,7 @@ class UsersalmonAction extends SalmonAction
|
|||||||
$context = $this->activity->context;
|
$context = $this->activity->context;
|
||||||
|
|
||||||
if (!empty($context->replyToID)) {
|
if (!empty($context->replyToID)) {
|
||||||
|
common_log(LOG_DEBUG, "Got a notice in reply to '{$context->replyToID}' ({$context->replyToUrl})");
|
||||||
$notice = Notice::staticGet('uri', $context->replyToID);
|
$notice = Notice::staticGet('uri', $context->replyToID);
|
||||||
if (empty($notice)) {
|
if (empty($notice)) {
|
||||||
throw new ClientException("In reply to unknown notice");
|
throw new ClientException("In reply to unknown notice");
|
||||||
|
Loading…
Reference in New Issue
Block a user