Fix mentionify

main
Thomas Sileo 2022-08-31 19:44:40 +02:00
parent 36d356c97a
commit 0175f21273
1 changed files with 4 additions and 1 deletions

View File

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