]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Poke.php
Merge pull request #9700 from MrPetovan/bug/notices
[friendica.git] / src / Module / Contact / Poke.php
index 5ecec4bae09be114344795bce35ddce4f2883226..96c0e3fea5fb66099ce8f85c84214f088d9d2a64 100644 (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);
                }