Skip to content

Conversation

@EzekialSA
Copy link
Contributor

This is a fix for the --skip-same implementation when attempting downloads of unsupported message types.

  • Add UnsupportedMessageTypeError to handle MessageService, MessageEmpty, etc.
  • Update GetSingleMessage to return specific error instead of generic 'invalid message'
  • Add error handling in download iterator to skip system messages gracefully
  • System messages include 'user joined', 'message pinned', etc. which aren't downloadable

- Add UnsupportedMessageTypeError to handle MessageService, MessageEmpty, etc.
- Update GetSingleMessage to return specific error instead of generic 'invalid message'
- Add error handling in download iterator to skip system messages gracefully
- System messages include 'user joined', 'message pinned', etc. which aren't downloadable
- Add DeletedMessageError type for better error handling
- Show yellow warning in console when skipping system/deleted messages
- Both log to file and display to user during download
@iyear
Copy link
Owner

iyear commented Dec 14, 2025

Is this PR the same as #1114 and #1090? They have already been merged.

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.

2 participants