aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-19 20:22:04 -0800
committerfriendica <info@friendica.com>2013-02-19 20:22:04 -0800
commit23718e5e28a7456b53ac384b5a2a0c3c6a1e99d5 (patch)
tree04b67526ef9cb342c09983d044429f6a2e63f4f3 /mod/import.php
parentef360f0a5ce9b422642a395d1cbd62dac8dda973 (diff)
downloadvolse-hubzilla-23718e5e28a7456b53ac384b5a2a0c3c6a1e99d5.tar.gz
volse-hubzilla-23718e5e28a7456b53ac384b5a2a0c3c6a1e99d5.tar.bz2
volse-hubzilla-23718e5e28a7456b53ac384b5a2a0c3c6a1e99d5.zip
that should be the last critical piece. Everything else is gravy.
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/import.php b/mod/import.php
index 5c778e2b2..a2b5132db 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -113,10 +113,10 @@ function import_post(&$a) {
// reset
$channel = $r[0];
-
-// FIXME - import the default profile photo (it has now been exported as a base64 blob)
-
-
+ if($data['photo']) {
+ require_once('include/Photo.php');
+ import_channel_photo(base64url_decode($data['photo']['data']),$data['photo']['type'],get_account_id,$channel['channel_id']);
+ }
$profiles = $data['profile'];
if($profiles) {