More generic domain

merge-requests/6/head
Bob Mottram 2020-02-05 15:32:56 +00:00
parent e49e43bb08
commit cd014f66b6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def removeFilter(baseDir: str,nickname: str,domain: str, \
def isTwitterPost(content: str) -> bool:
"""Returns true if the given post content is a retweet or twitter crosspost
"""
if '/twitter.com' in content or '@twitter.com' in content:
if '/twitter.com' in content or '@twitter.' in content:
return True
elif 'RT:' in content:
return True