]> git.mxchange.org Git - friendica.git/commitdiff
we need a profile url. Something.
authorFriendika <info@friendika.com>
Sat, 16 Apr 2011 22:48:08 +0000 (15:48 -0700)
committerFriendika <info@friendika.com>
Sat, 16 Apr 2011 22:48:08 +0000 (15:48 -0700)
include/Scrape.php

index 97e2fb7f199f85e35af1ad9973436d765fd71bd6..320e18edbf4e4e52e6b9f12af252f58c99f637b4 100644 (file)
@@ -338,6 +338,7 @@ function probe_url($url) {
                                                $addr = $orig_url;
                                                $network = NETWORK_MAIL;
                                                $name = substr($url,0,strpos($url,'@'));
+                                               $profile = 'http://' . substr($url,strpos($url,'@')+1);
                                                // fix nick
                                                $vcard = array('fn' => $name, 'nick' => $name, 'photo' => gravatar_img($url));
                                                $notify = 'smtp';