Group logos would not be fetched
update_ostatus_profiles.php did this correctly, but not Ostatus_profile.php
This commit is contained in:
parent
ba481d1e31
commit
4cfd0d24c1
@ -1249,11 +1249,7 @@ class Ostatus_profile extends Managed_DataObject
|
|||||||
// http://status.net/open-source/issues/2663
|
// http://status.net/open-source/issues/2663
|
||||||
chmod(Avatar::path($filename), 0644);
|
chmod(Avatar::path($filename), 0644);
|
||||||
|
|
||||||
$profile = $this->localProfile();
|
$self->setOriginal($filename);
|
||||||
|
|
||||||
if (!empty($profile)) {
|
|
||||||
$profile->setOriginal($filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
$orig = clone($this);
|
$orig = clone($this);
|
||||||
$this->avatar = $url;
|
$this->avatar = $url;
|
||||||
|
Loading…
Reference in New Issue
Block a user