Fix FSuggest conversation

This commit is contained in:
Philipp 2021-10-22 19:13:40 +02:00 committed by Hypolite Petovan
parent 61839d503a
commit 6623780cf8

View File

@ -29,6 +29,7 @@ use Friendica\Contact\FriendSuggest\Exception\FriendSuggestPersistenceException;
use Friendica\Contact\FriendSuggest\Factory; use Friendica\Contact\FriendSuggest\Factory;
use Friendica\Database\Database; use Friendica\Database\Database;
use Friendica\Network\HTTPException\NotFoundException; use Friendica\Network\HTTPException\NotFoundException;
use Friendica\Util\DateTimeFormat;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
class FriendSuggest extends BaseRepository class FriendSuggest extends BaseRepository
@ -53,6 +54,7 @@ class FriendSuggest extends BaseRepository
'request' => $fsuggest->request, 'request' => $fsuggest->request,
'photo' => $fsuggest->photo, 'photo' => $fsuggest->photo,
'note' => $fsuggest->note, 'note' => $fsuggest->note,
'created' => $fsuggest->created->format(DateTimeFormat::MYSQL),
]; ];
} }