mirror of
https://github.com/Xtao-Labs/misskey2telegram.git
synced 2024-11-22 05:53:09 +00:00
feat: nofwd tag
This commit is contained in:
parent
43e99555bd
commit
13877ebe41
@ -61,7 +61,7 @@ class MisskeyBot(commands.Bot):
|
||||
return False
|
||||
if note.visibility in ["specified"]:
|
||||
return False
|
||||
if note.tags.index("nofwd") != -1:
|
||||
if "nofwd" in note.tags:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user