mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Merge branch 'master' of https://github.com/pyrogram/pyrogram
This commit is contained in:
commit
826f815ca3
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class GameHighScore(Object):
|
|||
@staticmethod
|
||||
def _parse_action(client, service: raw.types.MessageService, users: dict):
|
||||
return GameHighScore(
|
||||
user=types.User._parse(client, users[utils.get_raw_peer_id(service.from_id)]),
|
||||
user=types.User._parse(client, users[utils.get_raw_peer_id(service.from_id or service.peer_id)]),
|
||||
score=service.action.score,
|
||||
client=client
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue