Forum OpenACS Development: Sending notifications only to approved users

The notifications package does not check is a user is approved before sending notifications.

See query here http://cvs.openacs.org/cvs/openacs-4/packages/notifications/tcl/sweep-procs-postgresql.xql?revision=1.10&view=markup

It seems that this should join on cc_users to make sure the account is approved before sending notifications.

Collapse
Posted by Hamilton Chua on
Instead of cc_users I believe we can use registered_users. registered_users is a view that contains only approved users.