Awesome, thank you!





On Mon, Nov 25, 2013, at 06:46 PM, Andrea Nall wrote:

  In cgi-bin/LJ/Event/JournalNewComment.pm:
> @@ -521,6 +517,24 @@ sub matches_filter {
>      return 0;
>  }
>
> +sub apply_noemail {
> +    my ( $self, $watcher, $comment, $method ) = @_;
> +
> +    my $entry = $comment->entry;
> +
> +    # not a match if this user posted the entry and they don't want comments
emailed,
> +    # unless it is a reply to one of their comments or they posted the commen
t
> +    my $reply_to_own_comment = $comment->parent ? $watcher->equals( $comment-
>parent->poster ) : 0;
> +    my $receive_own_comment = $comment->posterid == $watcher->id # we posted
> +                                && $watcher->prop( 'opt_getselfemail' ) && $w
atcher->can_get_self_email;

  I think we're actually good here then, let's just make a bug [ I
  will ] to review this later

  —

Reply to this email directly or [1]view it on GitHub.
[s73wEcta2S1lwypNIM0B_nwa6sFaBNupQcybWPKpjXXIH8vXfZFQYFlLPzJD5dRq.gif]

References

1. https://github.com/dreamwidth/dw-free/pull/615/files#r7913937