]> git.mxchange.org Git - friendica-addons.git/commitdiff
Use the owner-id at another place
authorMichael <heluecht@pirati.ca>
Wed, 2 Feb 2022 22:30:54 +0000 (22:30 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 2 Feb 2022 22:30:54 +0000 (22:30 +0000)
twitter/twitter.php

index f440e437082e1393be55de4cf8665289ac0200c6..adc5fa4bddfd9b3b4028b534b56296f0089fd49b 100644 (file)
@@ -1886,13 +1886,14 @@ function twitter_createpost(App $a, $uid, $post, array $self, $create_user, $onl
 
                        $postarray['thr-parent'] = $retweet['uri'];
                } else {
-                       $retweet['source'] = $postarray['source'];
-                       $retweet['direction'] = $postarray['direction'];
-                       $retweet['private'] = $postarray['private'];
-                       $retweet['allow_cid'] = $postarray['allow_cid'];
-                       $retweet['contact-id'] = $postarray['contact-id'];
-                       $retweet['owner-name'] = $postarray['owner-name'];
-                       $retweet['owner-link'] = $postarray['owner-link'];
+                       $retweet['source']       = $postarray['source'];
+                       $retweet['direction']    = $postarray['direction'];
+                       $retweet['private']      = $postarray['private'];
+                       $retweet['allow_cid']    = $postarray['allow_cid'];
+                       $retweet['contact-id']   = $postarray['contact-id'];
+                       $retweet['owner-id']     = $postarray['owner-id'];
+                       $retweet['owner-name']   = $postarray['owner-name'];
+                       $retweet['owner-link']   = $postarray['owner-link'];
                        $retweet['owner-avatar'] = $postarray['owner-avatar'];
 
                        $postarray = $retweet;