diff --git a/src/Factory/Api/Mastodon/Conversation.php b/src/Factory/Api/Mastodon/Conversation.php index f30ccf439..70562f3a0 100644 --- a/src/Factory/Api/Mastodon/Conversation.php +++ b/src/Factory/Api/Mastodon/Conversation.php @@ -35,6 +35,7 @@ class Conversation extends BaseFactory $last_status = null; $ids = []; + $mails = DBA::select('mail', ['id', 'from-url', 'uid', 'seen'], ['convid' => $id], ['order' => ['id' => true]]); while ($mail = DBA::fetch($mails)) { if (!$mail['seen']) {