forked from GNUsocial/gnu-social
Fix the switch on type
This commit is contained in:
parent
a6bb41a742
commit
77f23354ad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user