mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot
synced 2024-12-22 19:33:34 +02:00
ignore direct
This commit is contained in:
parent
e86d9829b0
commit
c96056f9a4
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ def scan_context_thread():
|
|||
|
||||
for status in descendants:
|
||||
id_st = status['id']
|
||||
visibility = status['visibility']
|
||||
if visibility == 'direct':
|
||||
# Игнорируем личку
|
||||
continue
|
||||
in_reply_acct = status['in_reply_to_account_id']
|
||||
in_reply_id = status['in_reply_to_id']
|
||||
muted = status['muted']
|
||||
|
|
Loading…
Reference in a new issue