Reworked the ActivityContext->attention structure
Removing Evan's obscure attentionType solution and directly using the attention array
This commit is contained in:
@@ -198,8 +198,7 @@ class Message extends Managed_DataObject
|
||||
throw new Exception(sprintf("Receiver profile not found: %d", $this->to_profile));
|
||||
}
|
||||
|
||||
$ctx->attention[] = $rprofile->getUri();
|
||||
$ctx->attentionType[$rprofile->getUri()] = ActivityObject::PERSON;
|
||||
$ctx->attention[$rprofile->getUri()] = ActivityObject::PERSON;
|
||||
|
||||
$act->context = $ctx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user