https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app.net, pump.io, statusnet, twitter: There were situations, when contacts were added...
[friendica-addons.git/.git]
/
fbsync
/
fbsync.php
diff --git
a/fbsync/fbsync.php
b/fbsync/fbsync.php
index
8585915
..
14de4df
100644
(file)
--- 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) {