mirror of
https://github.com/friendica/friendica
synced 2025-04-25 13:50:10 +00:00
Limit the number of feed entries (Can solve resub problems)
This commit is contained in:
parent
2293757a36
commit
6998897a34
2 changed files with 5 additions and 4 deletions
|
@ -22,7 +22,7 @@ function dfrn_poll_init(App $a) {
|
|||
if (($a->argc > 1) && ($dfrn_id == '') && !strstr($_SERVER["HTTP_USER_AGENT"], 'Friendica')) {
|
||||
$nickname = $a->argv[1];
|
||||
header("Content-type: application/atom+xml");
|
||||
echo ostatus::feed($a, $nickname, $last_update);
|
||||
echo ostatus::feed($a, $nickname, $last_update, 10);
|
||||
killme();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue