diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-06-19 09:17:49 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-06-19 09:17:49 -0400 |
commit | b215c90c9a82a86df225be9f9ff67ddb3469d6c3 (patch) | |
tree | dc6107475dc258b1309f2f88fc200011dc89fc9e /askbot/management | |
parent | 93d3ab49a614774657d25f105956937e2692563c (diff) | |
download | askbot-b215c90c9a82a86df225be9f9ff67ddb3469d6c3.tar.gz askbot-b215c90c9a82a86df225be9f9ff67ddb3469d6c3.tar.bz2 askbot-b215c90c9a82a86df225be9f9ff67ddb3469d6c3.zip |
group-private posts work on screen, still need update on the email alert and notification recipient side, no cache support
Diffstat (limited to 'askbot/management')
-rw-r--r-- | askbot/management/commands/send_email_alerts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askbot/management/commands/send_email_alerts.py b/askbot/management/commands/send_email_alerts.py index e890452d..5d58276d 100644 --- a/askbot/management/commands/send_email_alerts.py +++ b/askbot/management/commands/send_email_alerts.py @@ -84,7 +84,7 @@ class Command(NoArgsCommand): finally: connection.close() - def get_updated_questions_for_user(self,user): + def get_updated_questions_for_user(self, user): """ retreive relevant question updates for the user according to their subscriptions and recorded question @@ -353,7 +353,7 @@ class Command(NoArgsCommand): else: meta_data['new_q'] = False - new_ans = Post.objects.get_answers().filter( + new_ans = Post.objects.get_answers(user).filter( thread=q.thread, added_at__gt=emailed_at, deleted=False, |