aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-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) {