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: skip attachment without path when replying to a message #2447

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

Bilb
Copy link
Collaborator

@Bilb Bilb commented Aug 26, 2022

This can happen if the attachment is still downloading, or could not be
downloaded. The message will have attachments or thumbnails, without
valid data associated to it.
This fix makes sure we don't try to load invalid paths when trying to
gather the attachments and previews

Copy link
Collaborator

@yougotwill yougotwill left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

This can happen if the attachment is still downloading, or could not be
downloaded. The message will have attachments or thumbnails, without
valid data associated to it.
This fix makes sure we don't try to load invalid paths when trying to
gather the attachments and previews
@Bilb Bilb force-pushed the fix-replying-attachment-failing branch from b41b713 to c0cc745 Compare August 26, 2022 03:53
@Bilb Bilb merged commit 21a414c into oxen-io:clearnet Aug 26, 2022
@Bilb Bilb deleted the fix-replying-attachment-failing branch August 9, 2023 01:57
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