forked from forks/microblog.pub
Fix mentionify
This commit is contained in:
parent
36d356c97a
commit
0175f21273
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ async def _mentionify(
|
||||||
_, username, domain = mention.split("@")
|
_, username, domain = mention.split("@")
|
||||||
actor = (
|
actor = (
|
||||||
await db_session.execute(
|
await db_session.execute(
|
||||||
select(models.Actor).where(models.Actor.handle == mention)
|
select(models.Actor).where(
|
||||||
|
models.Actor.handle == mention,
|
||||||
|
models.Actor.is_deleted.is_(False),
|
||||||
|
)
|
||||||
)
|
)
|
||||||
).scalar_one_or_none()
|
).scalar_one_or_none()
|
||||||
if not actor:
|
if not actor:
|
||||||
|
|
Loading…
Reference in a new issue