diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-29 06:08:28 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-29 06:08:28 -0400 |
commit | a1e7c8aec92894b331c74c18f1e3d4289b176f28 (patch) | |
tree | ee063306f5e7b23c266164b28d0bf42b745af899 | |
parent | 3daa8afeec131a482b16ec5ddd04b19f837d3e60 (diff) | |
download | askbot-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__.py | 2 |
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 = { |