revert changes

This commit is contained in:
Markos Gogoulos
2020-12-25 17:44:21 +02:00
parent 3e2ff1e22d
commit 0e78076359
3 changed files with 0 additions and 17 deletions

View File

@@ -204,15 +204,6 @@ URL: %s
d["to"] = [media.user.email]
notify_items.append(d)
if action == "comment_added" and media:
if settings.USERS_NOTIFICATIONS.get("COMMENT_ADDED", False):
d = {}
title = f"[{settings.PORTAL_NAME}] - Comment was added"
msg = f"A comment was added on media {media_url}\n"
d["title"] = title
d["msg"] = msg
d["to"] = [media.user.username]
notify_items.append(d)
for item in notify_items:
email = EmailMessage(