mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-27 14:01:19 +00:00
This adds support for receiving copied images from the clipboard and pasting it into the chat input. After pasting, chat input will recognize the image and render a preview similar to how it would do it when selecting images via the file dialog. **Also important to note**: At the time of this PR, it seems that desktop only supports sending jpegs to status-go. I'm not sure if this was deliberately done this way because the protocol says it supports jpg, png, webp and gif. Because of this, pasting for example pngs will work, however transparency will be lost (which is also most likely the cause of #8820) This PR operates on that assumption. So while it adds support for copy/pasting images, it does not address the lack of file type support. Closes #3395
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
39.7%
JavaScript
29.3%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.5%