Use the right table ...
This commit is contained in:
parent
e26d73393e
commit
648e8a00a4
|
@ -2472,7 +2472,7 @@ class DFRN
|
||||||
// Check if the message is wanted
|
// Check if the message is wanted
|
||||||
if (($importer["importer_uid"] == 0) && ($item['uri'] == $item['parent-uri'])) {
|
if (($importer["importer_uid"] == 0) && ($item['uri'] == $item['parent-uri'])) {
|
||||||
if (!self::isSolicitedMessage($item)) {
|
if (!self::isSolicitedMessage($item)) {
|
||||||
DBA::delete('uri-id', ['uri' => $item['uri']]);
|
DBA::delete('item-uri', ['uri' => $item['uri']]);
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2909,7 +2909,7 @@ class Diaspora
|
||||||
Tag::storeRawTagsFromBody($datarray['uri-id'], $datarray["body"]);
|
Tag::storeRawTagsFromBody($datarray['uri-id'], $datarray["body"]);
|
||||||
|
|
||||||
if (!$fetched && !self::isSolicitedMessage($datarray["uri"], $datarray['uri-id'], $author, $body)) {
|
if (!$fetched && !self::isSolicitedMessage($datarray["uri"], $datarray['uri-id'], $author, $body)) {
|
||||||
DBA::delete('uri-id', ['uri' => $datarray['uri']]);
|
DBA::delete('item-uri', ['uri' => $datarray['uri']]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user