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

show error when user try to add file >10mb as attachment #850

Merged
merged 1 commit into from Feb 14, 2020

Conversation

Bilb
Copy link
Collaborator

@Bilb Bilb commented Feb 14, 2020

Fixed the signal way of checking the file size before adding it as attachment.

max size is 10mb for everything, except for images which are resized.
this limit is enforced per file only, not for a message containing several files

@Bilb Bilb requested review from vincentbavitz, RyanRory and neuroscr and removed request for RyanRory February 14, 2020 02:57
Copy link

@neuroscr neuroscr left a comment

Choose a reason for hiding this comment

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

Not what was discussed but I can make another PR that's builds on this.

@Bilb Bilb merged commit f47d1fd into oxen-io:clearnet Feb 14, 2020
@Bilb Bilb deleted the communicate-file-size-limit-user branch February 14, 2020 04:02
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.

None yet

3 participants