mirror of
https://github.com/solero/houdini.git
synced 2024-11-24 14:37:22 +00:00
Correct requester ID column name for vanilla buddy requests
This commit is contained in:
parent
55ac7e3ff8
commit
f5db24ca3a
@ -128,7 +128,7 @@ async def handle_buddy_request(p, buddy_id: int):
|
|||||||
buddy = p.server.penguins_by_id[buddy_id]
|
buddy = p.server.penguins_by_id[buddy_id]
|
||||||
|
|
||||||
if buddy.client_type == ClientType.Vanilla and p.id not in buddy.buddy_requests:
|
if buddy.client_type == ClientType.Vanilla and p.id not in buddy.buddy_requests:
|
||||||
await buddy.buddy_requests.insert(buddy_id=p.id)
|
await buddy.buddy_requests.insert(requester_id=p.id)
|
||||||
elif p.id not in buddy.legacy_buddy_requests:
|
elif p.id not in buddy.legacy_buddy_requests:
|
||||||
buddy.legacy_buddy_requests.add(p.id)
|
buddy.legacy_buddy_requests.add(p.id)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user