From 81c2555caf4afb6819a0e2058216389048d5bcee Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 5 Nov 2021 20:29:05 +0200 Subject: [PATCH] fdfsdfds --- files/classes/comment.py | 2 +- files/classes/submission.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 707fc57bf..83df5e300 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -316,7 +316,7 @@ class Comment(Base): url_noquery = url.split('?')[0] body = body.replace(url, f"{url_noquery}?{urlencode(p, True)}") - if self.author.sig_html and not (v and v.sigs_disabled): return body + '
' + self.author.sig_html + if self.author.sig_html and (self.author_id == 1904 or not (v and v.sigs_disabled)): return body + '
' + self.author.sig_html return body def plainbody(self, v): diff --git a/files/classes/submission.py b/files/classes/submission.py index 449dc79ed..9a3ac711b 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -316,7 +316,7 @@ class Submission(Base): if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com") if v and v.nitter: body = body.replace("www.twitter.com", "nitter.net").replace("twitter.com", "nitter.net") - if self.author.sig_html and not (v and v.sigs_disabled): return body + '
' + self.author.sig_html + if self.author.sig_html and (self.author_id == 1904 or not (v and v.sigs_disabled)): return body + '
' + self.author.sig_html return body def plainbody(self, v):