From 4085af5c4d424fe983404dce6d2b234bd8d8f625 Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Sat, 19 Jun 2021 19:22:37 +0200 Subject: [PATCH] sync with submitted --- mailstream/mailstream.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index acc437aae..0cc725dbe 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -332,11 +332,6 @@ function mailstream_subject(array $item): string return DI::l10n()->t("Friendica post"); } $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') { return DI::l10n()->t("Friendica post"); }