Fix feed display in browser when using emojis
This commit is contained in:
parent
b6623216f0
commit
faff105f86
1 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ class Feed extends BaseModule
|
|||
case 'posts':
|
||||
case 'comments':
|
||||
case 'activity':
|
||||
// Correct type names, no change needed
|
||||
break;
|
||||
case 'replies':
|
||||
$type = 'comments';
|
||||
|
@ -53,8 +54,8 @@ class Feed extends BaseModule
|
|||
}
|
||||
|
||||
$nickname = $a->argv[1];
|
||||
header("Content-type: application/atom+xml");
|
||||
header("Content-type: application/atom+xml; charset=utf-8");
|
||||
echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue