mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix tag check
This commit is contained in:
+2
-1
@@ -157,6 +157,7 @@ class ProcessBsky:
|
|||||||
@property
|
@property
|
||||||
def _sensitive(self) -> bool:
|
def _sensitive(self) -> bool:
|
||||||
return any(
|
return any(
|
||||||
tag in self._bsky['labels']
|
tag in label['val']
|
||||||
|
for label in self._bsky['labels']
|
||||||
for tag in SENSITIVE_TAG
|
for tag in SENSITIVE_TAG
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user