kopia lustrzana https://github.com/friendica/friendica
new param getUserObjects to avoid retransmitting the whole user info objects
rodzic
2c992c5969
commit
9d462c6b6a
|
@ -1610,6 +1610,9 @@
|
|||
} else {
|
||||
$d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0);
|
||||
}
|
||||
if (isset($_GET["getUserObjects"]) && $_GET["getUserObjects"] == "false") {
|
||||
unset($d['sender']); unset($d['recipient']);
|
||||
}
|
||||
$ret[]=$d;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue