]> git.mxchange.org Git - friendica.git/commitdiff
Avoid endless loop with the MagicLink
authorMichael Vogel <icarus@dabo.de>
Sun, 21 Feb 2021 19:51:00 +0000 (20:51 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 21 Feb 2021 19:51:00 +0000 (20:51 +0100)
src/Model/Contact.php

index 3029413853be2d2786dea670522b49d19356d2fa..f96c556d241784ce4e86279b7c6517efa0f2c4cc 100644 (file)
@@ -2688,10 +2688,6 @@ class Contact
                        return $destination;
                }
 
-               if (!empty($contact['uid']) || empty($contact['network'])) {
-                       return self::magicLink($contact['url'], $url);
-               }
-
                if (empty($contact['id'])) {
                        return $destination;
                }