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

Commit 221c724b authored by Evan Prodromou's avatar Evan Prodromou

Fix the switch on type

parent 0e83c5c8
......@@ -867,7 +867,7 @@ class ActivityObject
}
}
switch (ActivityObject::canonicalType($object->type)) {
switch (ActivityObject::canonicalType($this->type)) {
case 'image':
if (!empty($this->largerImage)) {
$object['fullImage'] = array('url' => $this->largerImage);
......
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