Skip to content

Commit 826f815

Browse files
committed
Merge branch 'master' of https://github.com/pyrogram/pyrogram
2 parents 928c8ac + 2de1606 commit 826f815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/types/bots_and_keyboards/game_high_score.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _parse(client, game_high_score: raw.types.HighScore, users: dict) -> "GameHi
6464
@staticmethod
6565
def _parse_action(client, service: raw.types.MessageService, users: dict):
6666
return GameHighScore(
67-
user=types.User._parse(client, users[utils.get_raw_peer_id(service.from_id)]),
67+
user=types.User._parse(client, users[utils.get_raw_peer_id(service.from_id or service.peer_id)]),
6868
score=service.action.score,
6969
client=client
7070
)

0 commit comments

Comments
 (0)