diff --git a/src/Core/UserImport.php b/src/Core/UserImport.php index 5488fe43f0..1e2693a944 100644 --- a/src/Core/UserImport.php +++ b/src/Core/UserImport.php @@ -7,6 +7,7 @@ namespace Friendica\Core; use Friendica\App; use Friendica\Core\Logger; use Friendica\Core\Protocol; +use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\Model\Photo; use Friendica\Object\Image; @@ -129,6 +130,9 @@ class UserImport $old_handle = $account['user']['nickname'].$oldaddr; } + // Creating a new guid to avoid problems with Diaspora + $account['user']['guid'] = System::createUUID(); + $olduid = $account['user']['uid']; unset($account['user']['uid']);