add title
This commit is contained in:
parent
59958832c0
commit
013ca30765
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def announce_items():
|
|||
def notify_moderators(id, link):
|
||||
comment = models.Comment.objects.filter(id=id).first()
|
||||
if comment:
|
||||
message = "%s commnented on %s\n\n%s" % (comment.name, link, comment.text)
|
||||
message = "%s commented on %s (%s)\n\n%s" % (comment.name, comment.item.title, link, comment.text)
|
||||
r = rpc.send(message, group=settings.SIGNAL_MODERATORS_GROUP)
|
||||
if r and "timestamp" in r:
|
||||
comment.data["moderator_ts"] = r["timestamp"]
|
||||
|
|
Loading…
Reference in a new issue