add #context to /notification
parent
0b00ee57e7
commit
5ffc51588e
|
@ -308,7 +308,7 @@ class Comment(Base):
|
|||
return f"/@{self.wall_user.username}/wall/comment/{self.id}#context"
|
||||
if self.parent_post:
|
||||
return f"{self.post.shortlink}/{self.id}#context"
|
||||
return f"/notification/{self.id}"
|
||||
return f"/notification/{self.id}#context"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
|
@ -462,4 +462,5 @@ def notification(v, cid):
|
|||
page=1,
|
||||
standalone=True,
|
||||
render_replies=True,
|
||||
focused_comment=comment,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue