forked from GNUsocial/gnu-social
parent
bb9353f6e0
commit
ebcd8644a5
@ -76,7 +76,6 @@ 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