forked from GNUsocial/gnu-social
NoResultException is common if reply_to was not cleared on parent deletion
This commit is contained in:
@@ -725,6 +725,8 @@ function common_find_mentions($text, Notice $notice)
|
||||
}
|
||||
} catch (NoParentNoticeException $e) {
|
||||
// It wasn't a reply to anything, so we can't harvest nickname-relations.
|
||||
} catch (NoResultException $e) {
|
||||
// The parent notice was deleted.
|
||||
}
|
||||
|
||||
$matches = common_find_mentions_raw($text);
|
||||
|
||||
Reference in New Issue
Block a user