Skip to content

fix: handle service messages and unsupported message types#1118

Open
EzekialSA wants to merge 2 commits into
iyear:masterfrom
EzekialSA:fix/handle-service-messages
Open

fix: handle service messages and unsupported message types#1118
EzekialSA wants to merge 2 commits into
iyear:masterfrom
EzekialSA:fix/handle-service-messages

Conversation

@EzekialSA

Copy link
Copy Markdown
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

@iyear

iyear commented Dec 14, 2025

Copy link
Copy Markdown
Owner

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

EzekialSA added 2 commits May 18, 2026 21:08
- 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
@EzekialSA EzekialSA force-pushed the fix/handle-service-messages branch from ac9a66d to 3910b93 Compare May 18, 2026 13:12
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