|
@@ -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) |
|
|
|
|
|
and (notification.reason in ['mention', 'reply'])): |
|
|
|
|
|
uris += [notification.uri] |
|
|
|
|
|
|
|
|
if not notification.is_read: |
|
|
|
|
|
if notification.reason in ['mention', 'reply']: |
|
|
|
|
|
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 }) |
|
|
|
|
|
|
|
|