app.net, pump.io, statusnet, twitter: There were situations, when contacts were added by mistake.

This commit is contained in:
Michael Vogel 2014-06-25 01:20:04 +02:00
parent b81129f070
commit 0a6d1f9e49
5 changed files with 21 additions and 0 deletions

View 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) {