]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Network.php
Diaspora: Photos are now transmitted separately
[friendica.git] / src / Module / Update / Network.php
index 6d452b70c041c5d95c115caa67c3e4368ae00c96..323d22cd5b97f27fc4a44d2e7f8f04b99c310032 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -75,7 +75,7 @@ class Network extends NetworkModule
                                $ordering = '`commented`';
                        }
 
-                       $o = DI::conversation()->create($items, 'network', $profile_uid, false, $ordering, local_user());
+                       $o = DI::conversation()->create($items, 'network', $profile_uid, false, $ordering, DI::userSession()->getLocalUserId());
                }
 
                System::htmlUpdateExit($o);