forked from rDrama/rDrama
1
0
Fork 0

fix the "more comments" link on walls on mobile

master
Aevann 2023-02-19 00:58:17 +02:00
parent 745dc3e85b
commit a6f57c1bc3
1 changed files with 2 additions and 0 deletions

View File

@ -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