Skip to content

Treat text/calendar as an inline body part#137

Open
Boomboomdunce wants to merge 1 commit intostalwartlabs:mainfrom
Boomboomdunce:fix/text-calendar-inline-body
Open

Treat text/calendar as an inline body part#137
Boomboomdunce wants to merge 1 commit intostalwartlabs:mainfrom
Boomboomdunce:fix/text-calendar-inline-body

Conversation

@Boomboomdunce
Copy link
Copy Markdown

Summary

  • classify text/calendar as an inline text body part instead of a generic attachment
  • preserve existing behavior for other text/* subtypes by limiting the change to calendar
  • add an integration test covering a standalone calendar reply message

Why

Standalone calendar replies currently parse as:

  • text_body=[]
  • html_body=[]
  • attachments=[0]

That drops the iCalendar payload from the message body APIs even though it is inline textual content.

Testing

  • cargo test

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.

1 participant