|
|
|
@ -217,7 +217,8 @@ CREATE TABLE IF NOT EXISTS follow_cache (
|
|
|
|
|
# Welcome any user who's posted publicly |
|
|
|
|
if visibility == 'public' and federated \ |
|
|
|
|
and instance not in self.bot_config['follow']['blacklist']['instances'] \ |
|
|
|
|
and username not in self.bot_config['follow']['blacklist']['users']: |
|
|
|
|
and username not in self.bot_config['follow']['blacklist']['users'] \ |
|
|
|
|
and '#nobot' not in status['account']['note'].lower(): |
|
|
|
|
# Check if username has been seen for welcome |
|
|
|
|
self.cursor.execute( |
|
|
|
|
'select count(1) as found from follow_cache where username = ?', |
|
|
|
|