fix: mult send

This commit is contained in:
xtaodada 2023-08-07 14:46:02 +08:00
parent 19edfd2263
commit 328fc9908a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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