Call it compareVerbs when comparing verbs
This commit is contained in:
@@ -357,7 +357,7 @@ class Fave extends Managed_DataObject
|
||||
$target = self::getTargetFromStored($stored);
|
||||
|
||||
// The following logic was copied from StatusNet's Activity plugin
|
||||
if (ActivityUtils::compareTypes($target->verb, array(ActivityVerb::POST))) {
|
||||
if (ActivityUtils::compareVerbs($target->verb, array(ActivityVerb::POST))) {
|
||||
// "I like the thing you posted"
|
||||
$act->objects = $target->asActivity()->objects;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user