From 0ae87b671c5fdc5e2b06b152c3569c27a5b41604 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 10 Jan 2024 11:07:44 +0000 Subject: [PATCH] The newer, sillier, name for twitter --- filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters.py b/filters.py index 4fc3b07fd..18024602a 100644 --- a/filters.py +++ b/filters.py @@ -112,7 +112,7 @@ def _is_twitter_post(content: str) -> bool: """Returns true if the given post content is a retweet or twitter crosspost """ features = ( - '/twitter.', '/nitter.', '@twitter.', '@nitter.', + '/x.com', '/twitter.', '/nitter.', '@twitter.', '@nitter.', '>RT <', '_tw<', '_tw@', 'tweet', 'Tweet', '🐦🔗' ) for feat in features: