Fix feed display in browser when using emojis

This commit is contained in:
Hypolite Petovan 2018-12-16 22:58:43 -05:00 committed by GitHub
parent b6623216f0
commit faff105f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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();
}
}