forked from friendica/friendica-addons
sync with submitted
This commit is contained in:
parent
837e36fd1c
commit
11413a9a71
|
@ -322,11 +322,6 @@ function mailstream_subject(array $item): string
|
||||||
return DI::l10n()->t("Friendica post");
|
return DI::l10n()->t("Friendica post");
|
||||||
}
|
}
|
||||||
$contact = $r[0];
|
$contact = $r[0];
|
||||||
if (!DBA::isResult($r)) {
|
|
||||||
Logger::error('mailstream_subject no contact for item id ' . $item['id'] . ' plink ' . $item['plink'] . ' contact id ' . $item['contact-id'] . ' uid ' . $item['uid']);
|
|
||||||
return DI::l10n()->t("Friendica post");
|
|
||||||
}
|
|
||||||
$contact = $r[0];
|
|
||||||
if ($contact['network'] === 'dfrn') {
|
if ($contact['network'] === 'dfrn') {
|
||||||
return DI::l10n()->t("Friendica post");
|
return DI::l10n()->t("Friendica post");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue