diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-05-31 10:19:08 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-05-31 10:19:08 +0300 |
commit | 25cd13755eda3c47240601452c82bcdcbb7f4a9a (patch) | |
tree | b99aec15664a0a4c93330a635d1436fad33c369e /lib | |
parent | 1e4fbc5a35371780478358f8e3176261c0aaa625 (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.php | 1 |
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( |