mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 02:48:48 +00:00
Bugfix: Sometimes it happened that the own contact data was deleted. This was caused by the statusnet connector.
This commit is contained in:
parent
76a8623053
commit
39cc0fe4cb
2 changed files with 7 additions and 5 deletions
|
@ -892,6 +892,9 @@ function twitter_queue_hook(&$a,&$b) {
|
|||
function twitter_fetch_contact($uid, $contact, $create_user) {
|
||||
require_once("include/Photo.php");
|
||||
|
||||
if ($contact->id_str == "")
|
||||
return(-1);
|
||||
|
||||
$avatar = str_replace("_normal.", ".", $contact->profile_image_url_https);
|
||||
|
||||
$info = get_photo_info($avatar);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue