ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[ljcom] r9642: LJSUP-7176: We shouldn't post REPLYs to ...

Committer: ssafronova
LJSUP-7176: We shouldn't post REPLYs to LJ when we post the tweets
U   trunk/cgi-bin/LJ/Client/Twitter.pm
Modified: trunk/cgi-bin/LJ/Client/Twitter.pm
===================================================================
--- trunk/cgi-bin/LJ/Client/Twitter.pm	2010-10-22 08:27:59 UTC (rev 9641)
+++ trunk/cgi-bin/LJ/Client/Twitter.pm	2010-10-22 09:36:25 UTC (rev 9642)
@@ -421,7 +421,7 @@
     );
 
     return [ map { LJ::Client::Twitter::Tweet->from_hash($_) } 
-             grep { not $_->{in_reply_to_status_id} and not $_->{in_reply_to_screen_name} } # without replies
+             grep { not $_->{in_reply_to_status_id} } # without replies
              @$res ];
 }
 

Tags: ljcom, pm, ssafronova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments