- // NOTE: I guess $dest isn't just the profile url (could be also
- // other profile pages e.g. photo). We need to find a solution
- // to be able to redirct to other pages than the contact profile.
- $cid = Contact::getIdForURL($dest);
-
- if (!$cid && !empty($addr)) {