Committer: ailyin
LJSUP-6406 (FaceBook authoriazation): minor logic fixU trunk/cgi-bin/LJ/Talk/Author/User.pm
Modified: trunk/cgi-bin/LJ/Talk/Author/User.pm =================================================================== --- trunk/cgi-bin/LJ/Talk/Author/User.pm 2010-08-30 03:02:44 UTC (rev 17219) +++ trunk/cgi-bin/LJ/Talk/Author/User.pm 2010-08-30 03:05:32 UTC (rev 17220) @@ -12,8 +12,9 @@ my $entry = LJ::Entry->new( $journalu, ditemid => $opts->{ditemid} ); my $is_friend = LJ::is_friend( $journalu, $remote ); - my $remote_can_comment = $entry->registered_can_comment - || ( $remote and $is_friend ); + my $remote_can_comment = $entry->everyone_can_comment + || ( $remote and $entry->registered_can_comment ) + || ( $is_friend and $entry->friends_can_comment ); my %whocheck;