From a6f57c1bc3c213400c293b5fbe6bc10b61ff0289 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 19 Feb 2023 00:58:17 +0200 Subject: [PATCH] fix the "more comments" link on walls on mobile --- files/classes/comment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/classes/comment.py b/files/classes/comment.py index 8cd8b0b4bb..181a9cc7ff 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -172,6 +172,8 @@ class Comment(Base): @property @lazy def more_comments(self): + if self.wall_user_id: + return f"/@{self.wall_user.username}/wall/comment/{self.id}?context=0#context" return f"{self.post.permalink}/{self.id}?context=0#context" @property