Fix empty scope when having version mismatch between workers (#15774)
parent
629115836f
commit
14f9d9b452
|
@ -0,0 +1 @@
|
||||||
|
Fix an error when having workers of different versions running.
|
|
@ -177,7 +177,7 @@ class Requester:
|
||||||
user=UserID.from_string(input["user_id"]),
|
user=UserID.from_string(input["user_id"]),
|
||||||
access_token_id=input["access_token_id"],
|
access_token_id=input["access_token_id"],
|
||||||
is_guest=input["is_guest"],
|
is_guest=input["is_guest"],
|
||||||
scope=set(input["scope"]),
|
scope=set(input.get("scope", [])),
|
||||||
shadow_banned=input["shadow_banned"],
|
shadow_banned=input["shadow_banned"],
|
||||||
device_id=input["device_id"],
|
device_id=input["device_id"],
|
||||||
app_service=appservice,
|
app_service=appservice,
|
||||||
|
|
Loading…
Reference in New Issue