X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=fbsync%2Ffbsync.php;h=14de4df25a0e1390d11acf263aff830a216a7a92;hb=0a6d1f9e492459aed2607b2432438b66b50bc4f8;hp=858591519b32fd9bd801ee71437394da5e1ecd4a;hpb=b81129f0704b64868ef6867fd8de90d2a92993c1;p=friendica-addons.git diff --git a/fbsync/fbsync.php b/fbsync/fbsync.php index 85859151..14de4df2 100644 --- a/fbsync/fbsync.php +++ b/fbsync/fbsync.php @@ -278,6 +278,9 @@ function fbsync_createpost($a, $uid, $self, $contacts, $applications, $post, $cr } if ($contact_id <= 0) { + // To-Do: + // $contacts[$post->source_id] seems to be wrong by repeated posts + // must be changed in future $contact_id = fbsync_fetch_contact($uid, $contacts[$post->source_id], $create_user); if ($contact_id == -1) {