]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/actions/photoupload.php
Photo federation is basically working now, could use some polish.
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / actions / photoupload.php
index 209b31ab4f30c9dcf77fb5f610af59868d76bd15..b4e7771a18ff1b39e93df113be5bf3fb30d47fc3 100644 (file)
@@ -142,9 +142,9 @@ class PhotouploadAction extends Action
         $album = GNUsocialPhotoAlbum::staticGet('profile_id', $profile_id);
         if(!$album) {
             $album = GNUsocialPhotoAlbum::newAlbum($profile_id, 'Default');
-            GNUsocialPhoto::saveNew($profile_id, $album->album_id, $thumb_uri, $uri, 'web');
+            GNUsocialPhoto::saveNew($profile_id, $album->album_id, $thumb_uri, $uri, 'web', false);
         } else {
-            GNUsocialPhoto::saveNew($profile_id, $album->album_id, $thumb_uri, $uri, 'web');
+            GNUsocialPhoto::saveNew($profile_id, $album->album_id, $thumb_uri, $uri, 'web', false);
         }
     }