Open seanonchain opened 2 years ago
Similarly, if a user uploads a .png, .svg, or other image format, after we upload to IPFS we display the image inside the Receiver window as a message.
One example of using it inside chat: https://github.com/De-Chat/DeChat/blob/fec96230a87bc5d5727974c6aa6b5909542650d5/README.md#chat--image--file-sending
They pass along the file type inside the message to help the chatbox render as an image or as a file link.
We want to support files being dragged into the chat window, then we upload to IPFS, and then Receiver shares the link in the chat.
See prior hackathon projects as an example.