forked from MarseyWorld/MarseyWorld
test smth
parent
125db43341
commit
ce3e62b128
|
@ -870,6 +870,8 @@ def userpagelisting(user:User, v=None, page:int=1, sort="new", t="all"):
|
||||||
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
||||||
@auth_required
|
@auth_required
|
||||||
def u_username_wall(v:Optional[User], username:str):
|
def u_username_wall(v:Optional[User], username:str):
|
||||||
|
if v.id == 1:
|
||||||
|
print('fuck', flush=True)
|
||||||
u = get_user(username, v=v, include_blocks=True)
|
u = get_user(username, v=v, include_blocks=True)
|
||||||
if username != u.username:
|
if username != u.username:
|
||||||
return redirect(f"/@{u.username}")
|
return redirect(f"/@{u.username}")
|
||||||
|
|
Loading…
Reference in New Issue