From ae6dae3b23f66b50299e0019d5cf616fa889d632 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 May 2021 22:10:05 +0000 Subject: [PATCH] Whitespace removed --- src/Module/Api/Mastodon/Conversation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Module/Api/Mastodon/Conversation.php b/src/Module/Api/Mastodon/Conversation.php index feeb52e24..03ea737f0 100644 --- a/src/Module/Api/Mastodon/Conversation.php +++ b/src/Module/Api/Mastodon/Conversation.php @@ -39,7 +39,7 @@ class Conversation extends BaseApi if (!empty($parameters['id'])) { DI::mstdnError()->UnprocessableEntity(); } - + DBA::delete('conv', ['id' => $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']]; $convs = DBA::select('conv', ['id'], ['uid' => $uid], $params); + $conversations = []; foreach ($convs as $conv) {