Allow to open file directly

Fix #506

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan
2022-11-16 20:44:34 +01:00
committed by Tobias Fella
parent 3e5421604b
commit ffa8fbf365
3 changed files with 46 additions and 8 deletions

View File

@@ -39,8 +39,6 @@ struct Mention {
class NeoChatRoom : public Quotient::Room
{
Q_OBJECT
Q_PROPERTY(QVariantList usersTyping READ getUsersTyping NOTIFY typingChanged)
Q_PROPERTY(bool hasFileUploading READ hasFileUploading WRITE setHasFileUploading NOTIFY hasFileUploadingChanged)
@@ -195,6 +193,8 @@ public:
bool canEncryptRoom() const;
Q_INVOKABLE bool downloadTempFile(const QString &eventId);
#ifdef QUOTIENT_07
Q_INVOKABLE PollHandler *poll(const QString &eventId);
#endif