|
a/Allura/allura/model/discuss.py |
|
b/Allura/allura/model/discuss.py |
|
... |
|
... |
215 |
ref_id=artifact.index_id(),
|
215 |
ref_id=artifact.index_id(),
|
216 |
topic='message',
|
216 |
topic='message',
|
217 |
link=artifact.url(),
|
217 |
link=artifact.url(),
|
218 |
_id=artifact.url()+post._id,
|
218 |
_id=artifact.url()+post._id,
|
219 |
from_address=str(author._id) if author != User.anonymous() else None,
|
219 |
from_address=str(author._id) if author != User.anonymous() else None,
|
220 |
reply_to_address='noreply@in.sf.net',
|
220 |
reply_to_address=u'noreply@in.sf.net',
|
221 |
subject=subject,
|
221 |
subject=subject,
|
222 |
text=text,
|
222 |
text=text,
|
223 |
in_reply_to=post.parent_id,
|
223 |
in_reply_to=post.parent_id,
|
224 |
author_id=author._id,
|
224 |
author_id=author._id,
|
225 |
pubdate=datetime.utcnow())
|
225 |
pubdate=datetime.utcnow())
|