Merge branch 'contact-media' of github.com:annando/friendica into contact-media

This commit is contained in:
Michael 2021-10-02 18:35:47 +00:00
commit da3fbced38

View file

@ -1422,7 +1422,7 @@ class Contact
} }
} }
If ($only_media) { if ($only_media) {
$condition = DBA::mergeConditions($condition, ["`uri-id` IN (SELECT `uri-id` FROM `post-media` WHERE `type` IN (?, ?, ?))", $condition = DBA::mergeConditions($condition, ["`uri-id` IN (SELECT `uri-id` FROM `post-media` WHERE `type` IN (?, ?, ?))",
Post\Media::AUDIO, Post\Media::IMAGE, Post\Media::VIDEO]); Post\Media::AUDIO, Post\Media::IMAGE, Post\Media::VIDEO]);
} }