We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2471f209 authored by Zach Copley's avatar Zach Copley

Fix avatar saving for OStatus -- how did this ever work?

parent cc85afda
......@@ -1044,7 +1044,8 @@ class Ostatus_profile extends Managed_DataObject
// http://status.net/open-source/issues/2663
chmod(Avatar::path($filename), 0644);
$self->setOriginal($filename);
$profile = $this->localProfile();
$profile->setOriginal($filename);
$orig = clone($this);
$this->avatar = $url;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment