]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountupdateprofileimage.php
OStatus: save updated profile bits when they come in over the wire; fix up nicknames
[quix0rs-gnu-social.git] / actions / apiaccountupdateprofileimage.php
index 2f8e9628c42b0896d85a83b4aa84d5d4863840c9..153ef7818ee03a9f09cc74bb4b790b8392e516bb 100644 (file)
@@ -135,7 +135,7 @@ class ApiAccountUpdateProfileImageAction extends ApiAuthAction
 
         common_broadcast_profile($profile);
 
-        $twitter_user = $this->twitterUserArray($this->user->getProfile(), true);
+        $twitter_user = $this->twitterUserArray($profile, true);
 
         if ($this->format == 'xml') {
             $this->initDocument('xml');