Commit Graph

10 Commits

Author SHA1 Message Date
Tobias Fella
893bc79f1e Don't load empty images from imageprovider
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error


(cherry picked from commit 724f10a895)
2020-12-28 17:30:16 +00:00
Tobias Fella
8060edd1c6 Allow opening links in the MessageDelegateContextMenu
Fixes #167


(cherry picked from commit 449adf993c)
2020-12-20 18:17:46 +00:00
Carl Schwan
344dbb110d Fix a few issues with icons 2020-12-06 17:37:10 +01:00
Carl Schwan
29584aec23 Allow redaction of message only by admins and authors of the message
Previously you could click on the button but it would do nothing
2020-12-05 11:29:37 +01:00
Carl Schwan
562850ea2c Fix Clibpoard is not defined
Now import it and use the correct function

Fix #100
2020-12-01 15:00:48 +01:00
Carl Schwan
10fe948016 Fix typo Clibpoard -> Clipboard
Fix #100
2020-11-30 23:28:55 +01:00
Carl Schwan
6db8354727 Fix MessageDelegateContextMenu not being displayed
It turnout that using an QML Singleton was a bad idea, instead create a
qml object in the main component and refer to it in the rest of the
codebase.

This commit also simplify a bit the qml structure of the Menu and fix
some visual bugs.
2020-11-16 10:00:18 +01:00
Tobias Fella
3a70a9d91c Set all internal qml versions to 1.0
They're useless and anything else just causes problem
2020-11-11 20:14:43 +01:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Carl Schwan
122a7cdd2f Rebrand files names Spectral -> NeoChat 2020-11-08 23:17:30 +01:00