zulip/zulip-mobile

Add support for disabling file upload

Open

#3,477 opened on May 8, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (673 forks)github user discovery
api migrationshelp wanted

Repository metrics

Stars
 (1,348 stars)
PR merge metrics
 (PR metrics pending)

Description

This is not super high priority, but I wanted to open an issue so we don't forget about it as it might be pretty simple as well.

We have a (new in the last week) parameter in the /register response, max_file_upload_size, which is the limit on how big a file one can upload. When that parameter is 0, we should disable showing the "attach files" option in the app for a given organization.

https://github.com/zulip/zulip/pull/12267/files is the webapp PR for this.

Contributor guide