Update src/Module/Magic.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2023-05-16 13:54:46 +02:00 committed by GitHub
parent 5782caba92
commit f604ddacb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ class Magic extends BaseModule
$this->logger->debug('bdest detected', ['dest' => $dest]);
}
if (!empty($addr ?: $dest)) {
if ($addr ?: $dest) {
$contact = Contact::getByURL($addr ?: $dest);
}