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

Commit db85774f authored by Evan Prodromou's avatar Evan Prodromou

only update the avatar of an Ostatus_profile if it's a profile

parent 9f8d0b36
......@@ -1045,7 +1045,10 @@ class Ostatus_profile extends Managed_DataObject
chmod(Avatar::path($filename), 0644);
$profile = $this->localProfile();
if (!empty($profile)) {
$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