mirror of
https://github.com/friendica/friendica
synced 2025-04-24 15:10:11 +00:00
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
This commit is contained in:
commit
3dddea96fa
30 changed files with 414 additions and 301 deletions
|
@ -449,7 +449,7 @@ class DFRN
|
|||
|
||||
$attributes = ["rel" => "photo", "type" => "image/jpeg",
|
||||
"media:width" => Proxy::PIXEL_SMALL, "media:height" => Proxy::PIXEL_SMALL,
|
||||
"href" => Contact::getAvatarUrlForId($owner['id'], Proxy::SIZE_SMALL, $owner['updated'])];
|
||||
"href" => User::getAvatarUrlForId($owner['uid'], Proxy::SIZE_SMALL)];
|
||||
|
||||
if (!$public || !$hide) {
|
||||
$attributes["dfrn:updated"] = $picdate;
|
||||
|
@ -1584,7 +1584,7 @@ class DFRN
|
|||
}
|
||||
if ($activity->match($item["verb"], Activity::UNFOLLOW)) {
|
||||
Logger::log("Lost follower");
|
||||
Contact::removeFollower($importer, $contact, $item);
|
||||
Contact::removeFollower($contact);
|
||||
return false;
|
||||
}
|
||||
if ($activity->match($item["verb"], Activity::REQ_FRIEND)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue