Whitespace removed
This commit is contained in:
parent
c1212dce03
commit
ae6dae3b23
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Conversation extends BaseApi
|
||||||
if (!empty($parameters['id'])) {
|
if (!empty($parameters['id'])) {
|
||||||
DI::mstdnError()->UnprocessableEntity();
|
DI::mstdnError()->UnprocessableEntity();
|
||||||
}
|
}
|
||||||
|
|
||||||
DBA::delete('conv', ['id' => $parameters['id'], 'uid' => $uid]);
|
DBA::delete('conv', ['id' => $parameters['id'], 'uid' => $uid]);
|
||||||
DBA::delete('mail', ['convid' => $parameters['id'], 'uid' => $uid]);
|
DBA::delete('mail', ['convid' => $parameters['id'], 'uid' => $uid]);
|
||||||
|
|
||||||
|
@ -65,6 +65,7 @@ class Conversation extends BaseApi
|
||||||
$params = ['order' => ['id' => true], 'limit' => $request['limit']];
|
$params = ['order' => ['id' => true], 'limit' => $request['limit']];
|
||||||
|
|
||||||
$convs = DBA::select('conv', ['id'], ['uid' => $uid], $params);
|
$convs = DBA::select('conv', ['id'], ['uid' => $uid], $params);
|
||||||
|
|
||||||
$conversations = [];
|
$conversations = [];
|
||||||
|
|
||||||
foreach ($convs as $conv) {
|
foreach ($convs as $conv) {
|
||||||
|
|
Loading…
Reference in a new issue