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
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-31 10:19:08 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-05-31 10:19:08 +0300
commit25cd13755eda3c47240601452c82bcdcbb7f4a9a (patch)
treeb99aec15664a0a4c93330a635d1436fad33c369e /lib
parent1e4fbc5a35371780478358f8e3176261c0aaa625 (diff)
Fix sending outbox message of deleted user accounts
A message of a deleted account currently triggers an error due to a missing return. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/Listener/AntiAbuseListener.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Listener/AntiAbuseListener.php b/lib/Listener/AntiAbuseListener.php
index 0f9aac5cf..5ef32d8a9 100644
--- a/lib/Listener/AntiAbuseListener.php
+++ b/lib/Listener/AntiAbuseListener.php
@@ -62,6 +62,7 @@ class AntiAbuseListener implements IEventListener {
'user' => $event->getAccount()->getUserId(),
'id' => $event->getAccount()->getId(),
]);
+ return;
}
$this->service->onBeforeMessageSent(