We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d30e9 commit 019df5aCopy full SHA for 019df5a
pyrogram/types/stories/story_repost_info.py
@@ -60,7 +60,7 @@ def _parse(
60
peer_id = utils.get_peer_id(from_user)
61
if isinstance(from_user, raw.types.PeerUser):
62
fwd_from_chat = types.Chat._parse_user_chat(client, users.get(peer_id, None))
63
- elif isinstance(story_item.from_id, raw.types.PeerChat):
+ elif isinstance(from_user, raw.types.PeerChat):
64
fwd_from_chat = types.Chat._parse_chat_chat(client, chats.get(peer_id, None))
65
else:
66
fwd_from_chat = types.Chat._parse_channel_chat(client, chats.get(peer_id, None))
0 commit comments