Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not remove contents from Schleuder ML messages #5149

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented Jan 4, 2024

Before this fix actual contents of the message
reposted by Schleuder is considered a mailing list footer and removed, not visible even in the "Show Full Message..." view.

With this change there will be two message bubbles, one for header and one for the contents,
but it is still better than losing the contents completely.

Attempting to parse header part is out of scope for this change.

fn maybe_remove_inline_mailinglist_footer(&mut self) {
if self.is_mailinglist_message() {
if self.is_mailinglist_message() && !self.is_schleuder_message() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do they never add footer as a third part?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far I only have one such list and received only unencrypted messages, so added one as an example. As I encounter more problems with it I can add more tests, but so far I have not seen signature text part.

Before this fix actual contents of the message
reposted by Schleuder is considered a mailing list footer and removed,
not visible even in the "Show Full Message..." view.

With this change there will be two message bubbles,
one for header and one for the contents,
but it is still better than losing the contents completely.

Attempting to parse header part is out of scope for this change.
@link2xt link2xt force-pushed the link2xt/schleuder branch from a3b0f4a to da11542 Compare January 5, 2024 15:43
@link2xt link2xt merged commit da11542 into main Jan 5, 2024
19 of 22 checks passed
@link2xt link2xt deleted the link2xt/schleuder branch January 5, 2024 15:43
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