forked from GNUsocial/gnu-social
bug in time and object handling in Subscription::asActivity
This commit is contained in:
parent
4338bc1ee7
commit
9771a7193f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user