mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 16:34:33 +02:00
The next mail endpoint is done
This commit is contained in:
parent
8a3db0226b
commit
db8b0b9666
6 changed files with 120 additions and 44 deletions
|
@ -84,10 +84,12 @@ class Conversation extends BaseApi
|
|||
|
||||
$conversations = [];
|
||||
|
||||
foreach ($convs as $conv) {
|
||||
while ($conv = DBA::fetch($convs)) {
|
||||
$conversations[] = DI::mstdnConversation()->CreateFromConvId($conv['id']);
|
||||
}
|
||||
|
||||
DBA::close($convs);
|
||||
|
||||
if (!empty($request['min_id'])) {
|
||||
array_reverse($conversations);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue