Merge pull request #9700 from MrPetovan/bug/notices

Add expected contact field in Module\Contact\Poke
This commit is contained in:
Michael Vogel 2020-12-23 09:34:26 +01:00 committed by GitHub
commit de5ec874fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ class Poke extends BaseModule
Logger::info('verb ' . $verb . ' contact ' . $contact_id);
$contact = DBA::selectFirst('contact', ['id', 'name', 'url'], ['id' => $parameters['id'], 'uid' => local_user()]);
$contact = DBA::selectFirst('contact', ['id', 'name', 'url', 'photo'], ['id' => $parameters['id'], 'uid' => local_user()]);
if (!DBA::isResult($contact)) {
return self::postReturn(false);
}