Account for read/access split.
Patch by kareila.
diffs (12 lines):
diff -r 5564d0c21ca2 -r cd17b371f2b9 cgi-bin/ljemailgateway.pl
--- a/cgi-bin/ljemailgateway.pl Wed Jul 01 15:47:21 2009 +0000
+++ b/cgi-bin/ljemailgateway.pl Thu Jul 02 02:05:46 2009 +0000
@@ -423,7 +423,7 @@ sub process {
}
} elsif ($lj_headers{security}) { # Assume a friendgroup if unknown
security mode.
# Get the mask for the requested friends group, or default to private.
- my $group = LJ::get_friend_group($u, { 'name'=>$lj_headers{security}
});
+ my $group = $u->trust_groups( 'name' => $lj_headers{security} );
if ($group) {
$amask = (1 << $group->{groupnum});
$lj_headers{security} = 'usemask';
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog