Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2021-06-01 21:53:19 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-10 12:27:59 +0300
commit0da32c97f64e0cdf950368257447ec8fa6fe7fea (patch)
treee8caddaefcb971e17a83b32e60726d8cdeac568d /lib/Controller/MessagesController.php
parentc149af8e36d5491b2a9bb0133495f289e00d6945 (diff)
Show each thread once per message list
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-xlib/Controller/MessagesController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php
index a39de7001..e3cc7a3e7 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -307,7 +307,7 @@ class MessagesController extends Controller {
return new JSONResponse([], Http::STATUS_FORBIDDEN);
}
- return new JSONResponse($this->mailManager->getThread($account, $id));
+ return new JSONResponse($this->mailManager->getThread($account, $message->getThreadRootId()));
}
/**