Fix thread display

This commit is contained in:
Thomas Sileo
2019-08-16 22:27:59 +02:00
parent 27ec87a2ef
commit 0edf5f0651
3 changed files with 38 additions and 26 deletions

View File

@@ -74,6 +74,10 @@ def not_undo() -> _SubQuery:
return flag(MetaKey.UNDO, False)
def not_deleted() -> _SubQuery:
return flag(MetaKey.DELETED, False)
def by_actor(actor: ap.BaseActivity) -> _SubQuery:
return flag(MetaKey.ACTOR_ID, actor.id)