bug in time and object handling in Subscription::asActivity

This commit is contained in:
Evan Prodromou 2010-09-13 16:22:42 -04:00
parent 4338bc1ee7
commit 9771a7193f

View File

@ -256,8 +256,8 @@ class Subscription extends Memcached_DataObject
$subscriber->getBestName(),
$subscribed->getBestName());
$act->actor = ActivityObject::fromProfile($subscriber);
$act->object = ActivityObject::fromProfile($subscribed);
$act->actor = ActivityObject::fromProfile($subscriber);
$act->objects[] = ActivityObject::fromProfile($subscribed);
return $act;
}