]> git.mxchange.org Git - friendica-addons.git/blobdiff - fbsync/fbsync.php
app.net, pump.io, statusnet, twitter: There were situations, when contacts were added...
[friendica-addons.git] / fbsync / fbsync.php
index 858591519b32fd9bd801ee71437394da5e1ecd4a..14de4df25a0e1390d11acf263aff830a216a7a92 100644 (file)
@@ -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) {