From 522b6c98106da0f49327a43b9f2c6547d8a7a917 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 25 Jan 2022 20:22:34 +0200 Subject: [PATCH] fd --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 185f9b11f..5bb973824 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -512,7 +512,7 @@ def api_comment(v): if parent.author.id != v.id and PUSHER_ID: if len(c.body) > 500: notifbody = c.body[:500] + '...' - else: notifbody = c.body + else: notifbody = c.body or '' beams_client.publish_to_interests( interests=[f'{request.host}{parent.author.id}'],