We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2e3ef4cc authored by mattl's avatar mattl

Use pre-defined const instead of strings

parent 3cab5b36
......@@ -622,14 +622,14 @@ class Activity
if (!empty($this->context->conversation)) {
$xs->element('link', array('rel' => 'ostatus:conversation',
$xs->element('link', array('rel' => ActivityContext::CONVERSATION,
'href' => $this->context->conversation));
foreach ($this->context->attention as $attnURI) {
$xs->element('link', array('rel' => 'ostatus:attention',
$xs->element('link', array('rel' => ActivityContext::ATTENTION,
'href' => $attnURI));
$xs->element('link', array('rel' => 'mentioned',
$xs->element('link', array('rel' => ActivityContext::MENTIONED,
'href' => $attnURI));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment