ignore direct

This commit is contained in:
localhost_frssoft 2023-07-27 17:36:16 +03:00
parent e86d9829b0
commit c96056f9a4

View file

@ -69,6 +69,10 @@ def scan_context_thread():
for status in descendants: for status in descendants:
id_st = status['id'] id_st = status['id']
visibility = status['visibility']
if visibility == 'direct':
# Игнорируем личку
continue
in_reply_acct = status['in_reply_to_account_id'] in_reply_acct = status['in_reply_to_account_id']
in_reply_id = status['in_reply_to_id'] in_reply_id = status['in_reply_to_id']
muted = status['muted'] muted = status['muted']