Skip to content

Conversation

Javiink
Copy link

@Javiink Javiink commented Mar 9, 2025

Use getattr instead of an if conditional to get the m.reply_to.reply_to_msg_id attribute. This way if m.reply_to is None, the program doesn't break.

Fixes #150

@Javiink Javiink marked this pull request as ready for review March 9, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync failes at specific message, AttributeError: 'MessageReplyStoryHeader' object has no attribute 'reply_to_msg_id'
1 participant