The buttons to upload media disappear (like #868) when setting ejabberd's mod_http_upload's max_size to infinity.
The effect of setting max_size to infinity is that the max-file-size field is absent from the upload service discovery response.
XEP-0363 does not mandate the presence of max-file-size, and says "an entity SHOULD also include the maximum file size ... if such a limitation exists." I prefer not to impose the limitation on my private server.
The buttons to upload media disappear (like #868) when setting
ejabberd'smod_http_upload'smax_sizetoinfinity.The effect of setting
max_sizetoinfinityis that themax-file-sizefield is absent from the upload service discovery response.XEP-0363 does not mandate the presence of
max-file-size, and says "an entity SHOULD also include the maximum file size ... if such a limitation exists." I prefer not to impose the limitation on my private server.Example query:
Response with
max-file-sizeset (works with ChatSecure 5.0.3):Response without
max-file-sizeset (does not work with ChatSecure 5.0.3):The text was updated successfully, but these errors were encountered: