Allow file transfer
Offer a file transfer in the chat, as suggested here, try to do it with Prosody.
File transfer is specified in XEP-0363 and mod_http_upload is the implementation for Prosody.
So next step would be to extend the ChatInputBar and the Chat MessageContainer.