Skip to content
Snippets Groups Projects
Unverified Commit a3509d28 authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[FIX] mail: use explicit 'active' domain for user count in ping

Before the migration to the new API of this code, the context was
not propagated to the update_notification call.

This is now the case, which is unfortunate since the context of the
cron action has an 'active_test'=False key, which causes the ping
to count user differently when the cron is triggered from the form
view.

This commit adds explicit ('active','=',True) domain to ensure we
only count active users when pinging.
parent d98e5bb6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment