changeset 8757:4cca6590f263

model/comment: drop unused fields in email_kwargs Keep things as simple as possible.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Thu, 05 Nov 2020 23:04:52 +0100
parents b4749d02192d
children d437cc48bc42
files kallithea/model/comment.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/model/comment.py	Thu Nov 05 22:41:09 2020 +0100
+++ b/kallithea/model/comment.py	Thu Nov 05 23:04:52 2020 +0100
@@ -85,7 +85,6 @@
                 'cs_target_repo': webutils.canonical_url('summary_home', repo_name=repo.repo_name),
                 'cs_comment_url': comment_url,
                 'cs_url': webutils.canonical_url('changeset_home', repo_name=repo.repo_name, revision=revision),
-                'raw_id': revision,
                 'message': cs.message,
                 'message_short': shorter(cs.message, 50, firstline=True),
                 'cs_author': cs_author,
@@ -93,7 +92,6 @@
                 'repo_name': repo.repo_name,
                 'short_id': revision[:12],
                 'branch': cs.branch,
-                'comment_username': author.username,
                 'threading': threading,
             }
         # pull request
@@ -134,7 +132,6 @@
                 'pr_owner': pull_request.owner,
                 'pr_owner_username': pull_request.owner.username,
                 'repo_name': pull_request.other_repo.repo_name,
-                'comment_username': author.username,
                 'threading': threading,
             }