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_size
toinfinity
.The effect of setting
max_size
toinfinity
is that themax-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.Example query:
Response with
max-file-size
set (works with ChatSecure 5.0.3):Response without
max-file-size
set (does not work with ChatSecure 5.0.3):