Switch to side-by-side view
--- a/Allura/allura/app.py +++ b/Allura/allura/app.py @@ -193,6 +193,14 @@ user_id=uid, project_id=self.project._id, app_config_id=self.config._id) + + def subscribe(self, user): + if user and user != model.User.anonymous(): + model.Mailbox.subscribe( + type='direct', + user_id=user._id, + project_id=self.project._id, + app_config_id=self.config._id) @classmethod def default_options(cls):