From 35cc6c8a351e162e5d68c437fae1b1e46a14333a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 21 Nov 2021 15:42:01 +0200 Subject: [PATCH] fsdfs --- files/helpers/alerts.py | 6 ------ files/routes/users.py | 2 -- files/templates/home_comments.html | 4 ++-- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 19e70350a3..2cc16b9210 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -20,7 +20,6 @@ def send_notification(uid, text, autojanny=False): new_comment = Comment(author_id=author_id, parent_submission=None, distinguish_level=6, - body=text, body_html=text_html, notifiedto=uid ) @@ -41,7 +40,6 @@ def send_follow_notif(vid, user, text): new_comment = Comment(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, - body=text, body_html=text_html, ) g.db.add(new_comment) @@ -60,7 +58,6 @@ def send_unfollow_notif(vid, user, text): new_comment = Comment(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, - body=text, body_html=text_html, ) g.db.add(new_comment) @@ -79,7 +76,6 @@ def send_block_notif(vid, user, text): new_comment = Comment(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, - body=text, body_html=text_html, ) g.db.add(new_comment) @@ -98,7 +94,6 @@ def send_unblock_notif(vid, user, text): new_comment = Comment(author_id=NOTIFICATIONS_ID, parent_submission=None, distinguish_level=6, - body=text, body_html=text_html, ) g.db.add(new_comment) @@ -121,7 +116,6 @@ def send_admin(vid, text): parent_submission=None, level=1, sentto=0, - body=text, body_html=text_html, ) g.db.add(new_comment) diff --git a/files/routes/users.py b/files/routes/users.py index 45a3a66175..c6eacf8fe3 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -332,7 +332,6 @@ def message2(v, username): parent_submission=None, level=1, sentto=user.id, - body=message, body_html=text_html, ) g.db.add(new_comment) @@ -383,7 +382,6 @@ def messagereply(v): parent_comment_id=id, level=parent.level + 1, sentto=user.id, - body=message, body_html=text_html, ) g.db.add(new_comment) diff --git a/files/templates/home_comments.html b/files/templates/home_comments.html index e8c08a0504..2eb2ed89ba 100644 --- a/files/templates/home_comments.html +++ b/files/templates/home_comments.html @@ -8,7 +8,7 @@

 	
-
+