mirror of
https://github.com/Xtao-Labs/misskey2telegram.git
synced 2024-11-22 05:53:09 +00:00
fix: mult send
This commit is contained in:
parent
19edfd2263
commit
328fc9908a
@ -16,6 +16,8 @@ class NoRepeatRenoteAction:
|
||||
|
||||
@staticmethod
|
||||
async def check(uid: int, note: Note):
|
||||
if await NoRepeatRenoteAction.get(uid, note.id):
|
||||
return False
|
||||
if note.renote and (not note.content):
|
||||
if await NoRepeatRenoteAction.get(uid, note.renote.id):
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user