Fix/tweak DMs sections

This commit is contained in:
Thomas Sileo
2019-10-27 14:53:00 +01:00
parent 3998d4ed68
commit c8012ee8f3
2 changed files with 6 additions and 2 deletions

View File

@@ -142,6 +142,10 @@ def by_visibility(vis: ap.Visibility) -> _SubQuery:
return flag(MetaKey.VISIBILITY, vis.name)
def by_object_visibility(vis: ap.Visibility) -> _SubQuery:
return flag(MetaKey.OBJECT_VISIBILITY, vis.name)
def by_hashtag(ht: str) -> _SubQuery:
return flag(MetaKey.HASHTAGS, ht)