summaryrefslogtreecommitdiffstats
path: root/forum/models/answer.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-08 20:43:20 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-06-08 20:43:20 -0400
commit2f76b6460e0da66a2ef4251301059c84b3f5a753 (patch)
treedfb05ee36851786b499223f0d56c244f5525e69c /forum/models/answer.py
parente215c1d15b049b04f7a2497c07d3c9a3f380638d (diff)
downloadaskbot-2f76b6460e0da66a2ef4251301059c84b3f5a753.tar.gz
askbot-2f76b6460e0da66a2ef4251301059c84b3f5a753.tar.bz2
askbot-2f76b6460e0da66a2ef4251301059c84b3f5a753.zip
envelope turns on correctly when there are new content or mention responses
Diffstat (limited to 'forum/models/answer.py')
-rw-r--r--forum/models/answer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/models/answer.py b/forum/models/answer.py
index e8ff2e50..fd336ffa 100644
--- a/forum/models/answer.py
+++ b/forum/models/answer.py
@@ -26,7 +26,7 @@ class AnswerManager(models.Manager):
answer.last_edited_at = added_at
answer.wikified_at = added_at
- answer.parse_and_save()
+ answer.parse_and_save(author = author)
answer.add_revision(
revised_by = author,
@@ -117,7 +117,7 @@ class Answer(content.Content, DeletableContent):
#self.html is denormalized in save()
self.text = text
#todo: bug wiki has no effect here
- self.parse_and_save()
+ self.parse_and_save(author = edited_by)
self.add_revision(
revised_by=edited_by,