]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added a url field to hold the permalink. I believe this field is very useful for...
authorCraig Andrews <candrews@integralblue.com>
Fri, 31 Jul 2009 02:43:07 +0000 (22:43 -0400)
committerCraig Andrews <candrews@integralblue.com>
Fri, 31 Jul 2009 02:43:07 +0000 (22:43 -0400)
lib/twitterapi.php

index 2f969f2bafee2c9aeb967ac6f2bb7b0c8a5745a5..e6af33e8289fe78de0f7d07b236712a12248a269 100644 (file)
@@ -217,9 +217,10 @@ class TwitterapiAction extends Action
     {
         $twitter_group=array();
         $twitter_group['id']=$group->id;
+        $twitter_group['url']=$group->permalink();
         $twitter_group['nickname']=$group->nickname;
         $twitter_group['fullname']=$group->fullname;
-        $twitter_group['url']=$group->url;
+        $twitter_group['homepage_url']=$group->homepage_url;
         $twitter_group['original_logo']=$group->original_logo;
         $twitter_group['homepage_logo']=$group->homepage_logo;
         $twitter_group['stream_logo']=$group->stream_logo;