自動 Follow を追加
このコミットが含まれているのは:
@@ -15,9 +15,11 @@ def check_notifications (
|
|||||||
|
|
||||||
for notification in (client.app.bsky.notification.list_notifications ()
|
for notification in (client.app.bsky.notification.list_notifications ()
|
||||||
.notifications):
|
.notifications):
|
||||||
if ((not notification.is_read)
|
if not notification.is_read:
|
||||||
and (notification.reason in ['mention', 'reply'])):
|
if notification.reason in ['mention', 'reply']:
|
||||||
uris += [notification.uri]
|
uris += [notification.uri]
|
||||||
|
elif notification.reason == 'follow':
|
||||||
|
client.follow (notification.ahthor.did)
|
||||||
|
|
||||||
client.app.bsky.notification.update_seen ({ 'seen_at': last_seen_at })
|
client.app.bsky.notification.update_seen ({ 'seen_at': last_seen_at })
|
||||||
|
|
||||||
|
|||||||
新しい課題から参照
ユーザをブロックする