mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 16:50:10 +00:00
Fix message deletion by reaction
This commit is contained in:
parent
fc93ebccbb
commit
ef38a49a77
3 changed files with 36 additions and 16 deletions
|
|
@ -161,7 +161,7 @@ async def get_members_by_account(conn, account_id: str):
|
|||
|
||||
@db_wrap
|
||||
async def get_message_by_sender_and_id(conn, message_id: str, sender_id: str):
|
||||
await conn.fetchrow("select * from messages where mid = $1 and sender = $2", int(message_id), int(sender_id))
|
||||
return await conn.fetchrow("select * from messages where mid = $1 and sender = $2", int(message_id), int(sender_id))
|
||||
|
||||
|
||||
@db_wrap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue