mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
If a file cannot be added for upload because of restrictions in frontend we call cancelAll immediately in 'info-visible' callback. This would prevent files that are already added to be cancelled but does not cancel files that are yet to be added. So we use break to prevent any more files from being added.