Friends, I am creating a chat on Photon.
I want to implement a feature to send images.
There is already a created sprite on it with a standard avatar image.
The user selects a photo using the file chooser.
After that, the base64 plugin encodes the photo and sends the code to the server.
There I created a sprite for verification and the received data of the sent image will be entered into this sprite.
That is, the sprite will turn into a picture that the user sent.
Everything is sent.
Everything is accepted.
But the very first standard picture is sent and not the one that we chose through the file chooser