fd
This commit is contained in:
parent
acd240f02a
commit
ec20085f3e
2 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,7 @@ def get_user(username, v=None, graceful=False):
|
|||
UserBlock.target_id == v.id
|
||||
)
|
||||
)
|
||||
).one_or_none()
|
||||
).first()
|
||||
|
||||
user.is_blocking = block and block.user_id == v.id
|
||||
user.is_blocked = block and block.target_id == v.id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue