#33 send email to bad_posters

This deals with https://github.com/maiera/gde-app/issues/33

We just need to agree on the template & send emails to the post owners instead of me.
nice catch


Patrick Martinent




On Tue, Aug 12, 2014 at 11:16 PM, Gerwin Sturm <notifications@github.com>
wrote:

> In appengine/services/gplus.py:
>
> >          for activity in activities:
> > +            if first_time:
> > +                first_time = False
> > +                previous_activity = activity
> > +
> > +            if previous_activity.gplus_id != activity.gplus_id:
> > +                if len(bad_posts) > 0:
> > +                    self.send_update_mail(bad_posts, previous_activity.gplus_id)
>
> This part would have to be repeated one last time after the for activity
> in activities loop finishes. Otherwise the last GDE in the list will
> never get his bad_posts delivered.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/maiera/gde-app/pull/60/files#r16129581>.
>