Cleanup queries

This commit is contained in:
Thomas Sileo
2019-09-02 23:44:38 +02:00
parent 151ced0b41
commit bcec7146fd
2 changed files with 48 additions and 45 deletions

View File

@@ -101,6 +101,10 @@ def follow_request_accepted() -> _SubQuery:
return flag(MetaKey.FOLLOW_STATUS, FollowStatus.ACCEPTED.value)
def not_poll_answer() -> _SubQuery:
return flag(MetaKey.POLL_ANSWER, False)
def not_in_reply_to() -> _SubQuery:
return {"activity.object.inReplyTo": None}