summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-29 06:08:28 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-29 06:08:28 -0400
commita1e7c8aec92894b331c74c18f1e3d4289b176f28 (patch)
treeee063306f5e7b23c266164b28d0bf42b745af899
parent3daa8afeec131a482b16ec5ddd04b19f837d3e60 (diff)
downloadaskbot-a1e7c8aec92894b331c74c18f1e3d4289b176f28.tar.gz
askbot-a1e7c8aec92894b331c74c18f1e3d4289b176f28.tar.bz2
askbot-a1e7c8aec92894b331c74c18f1e3d4289b176f28.zip
fixed an error in the generator of response email addresses
-rw-r--r--askbot/models/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/__init__.py b/askbot/models/__init__.py
index 30df6366..88041acc 100644
--- a/askbot/models/__init__.py
+++ b/askbot/models/__init__.py
@@ -2732,7 +2732,7 @@ def get_reply_to_addresses(user, post):
#these variables will contain return values
primary_addr = django_settings.DEFAULT_FROM_EMAIL
secondary_addr = None
- if askbot_settings.REPLY_BY_EMAIL:
+ if user.can_reply_by_email():
if user.reputation >= askbot_settings.MIN_REP_TO_POST_BY_EMAIL:
reply_args = {