|
a/Allura/allura/model/notification.py |
|
b/Allura/allura/model/notification.py |
|
... |
|
... |
116 |
subject = post.subject or ''
|
116 |
subject = post.subject or ''
|
117 |
if post.parent_id and not subject.lower().startswith('re:'):
|
117 |
if post.parent_id and not subject.lower().startswith('re:'):
|
118 |
subject = 'Re: ' + subject
|
118 |
subject = 'Re: ' + subject
|
119 |
author = post.author()
|
119 |
author = post.author()
|
120 |
d = dict(
|
120 |
d = dict(
|
121 |
_id=post._id,
|
121 |
_id=artifact.url()+post._id,
|
122 |
from_address=str(author._id),
|
122 |
from_address=str(author._id),
|
123 |
reply_to_address='"%s" <%s>' % (
|
123 |
reply_to_address='"%s" <%s>' % (
|
124 |
subject_prefix, getattr(artifact, 'email_address', 'noreply@in.sf.net')),
|
124 |
subject_prefix, getattr(artifact, 'email_address', 'noreply@in.sf.net')),
|
125 |
subject=subject_prefix + subject,
|
125 |
subject=subject_prefix + subject,
|
126 |
text=post.text,
|
126 |
text=post.text,
|