don't kill when no result is found, this may break communication, thanks to @annando explaining it
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
6d5826e188
commit
89bd080e7e
|
@ -915,12 +915,7 @@ class dfrn {
|
||||||
intval($owner["uid"]),
|
intval($owner["uid"]),
|
||||||
dbesc(normalise_link($mention)));
|
dbesc(normalise_link($mention)));
|
||||||
|
|
||||||
if (!dbm::is_result($r)) {
|
if (dbm::is_result($r) AND ($r[0]["forum"] OR $r[0]["prv"])) {
|
||||||
/// @TODO Maybe some logging?
|
|
||||||
killme();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($r[0]["forum"] OR $r[0]["prv"]) {
|
|
||||||
xml::add_element($doc, $entry, "link", "", array("rel" => "mentioned",
|
xml::add_element($doc, $entry, "link", "", array("rel" => "mentioned",
|
||||||
"ostatus:object-type" => ACTIVITY_OBJ_GROUP,
|
"ostatus:object-type" => ACTIVITY_OBJ_GROUP,
|
||||||
"href" => $mention));
|
"href" => $mention));
|
||||||
|
|
Loading…
Reference in a new issue