Allow all members to track all comments to paid communities.
Patch by 900degrees.
diffs (36 lines):
diff -r 2519def8adac -r 8fb8cae38c31 htdocs/manage/subscriptions/comments.bml
--- a/htdocs/manage/subscriptions/comments.bml Sun May 02 07:06:07 2010 +0000
+++ b/htdocs/manage/subscriptions/comments.bml Sun May 02 07:23:00 2010 +0000
@@ -92,7 +92,7 @@ body<=
event => "JournalNewComment",
journal => $journal,
flags => LJ::Subscription::TRACKING,
- ) if $journal->is_community &&
LJ::can_manage_other( $remote, $journal );
+ ) if $journal->is_community && (
LJ::can_manage_other( $remote, $journal ) || $journal->is_paid &&
$remote->member_of( $journal ) );
my $categories = [
{
diff -r 2519def8adac -r 8fb8cae38c31 htdocs/manage/subscriptions/entry.bml
--- a/htdocs/manage/subscriptions/entry.bml Sun May 02 07:06:07 2010 +0000
+++ b/htdocs/manage/subscriptions/entry.bml Sun May 02 07:23:00 2010 +0000
@@ -69,7 +69,7 @@ body<=
event => "JournalNewComment",
journal => $journal,
flags => LJ::Subscription::TRACKING,
- ) if $journal->is_community &&
LJ::can_manage_other( $remote, $journal );
+ ) if $journal->is_community && (
LJ::can_manage_other( $remote, $journal ) || $journal->is_paid &&
$remote->member_of( $journal ) );
push @{...@$categories[0]->{Track}},
LJ::Subscription::Pending->new(
diff -r 2519def8adac -r 8fb8cae38c31 htdocs/manage/subscriptions/user.bml
--- a/htdocs/manage/subscriptions/user.bml Sun May 02 07:06:07 2010 +0000
+++ b/htdocs/manage/subscriptions/user.bml Sun May 02 07:23:00 2010 +0000
@@ -77,7 +77,7 @@ body<=
event => "JournalNewComment",
journal => $journal,
flags => LJ::Subscription::TRACKING,
- ) if $journal->is_community &&
LJ::can_manage_other( $remote, $journal );
+ ) if $journal->is_community && (
LJ::can_manage_other( $remote, $journal ) || $journal->is_paid &&
$remote->member_of( $journal ) );
push @{...@$categories[0]->{""}},
LJ::Subscription::Pending->new(
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog