diff options
author | link2xt <link2xt@testrun.org> | 2021-07-26 00:07:19 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-07-26 00:08:11 +0300 |
commit | cd6fe80f84c1f1e44b4ee306ac2672a7287778c1 (patch) | |
tree | 150ab9e3b2f4a2228be0387fab5d7f40af363d2b /chat.h | |
parent | 9e5fe2dc856795d0d3d8b6a3adf3fdd3015d9158 (diff) | |
download | kdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.tar.gz kdeltachat-cd6fe80f84c1f1e44b4ee306ac2672a7287778c1.zip |
Get rid of the contact requests chat
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ class DcChat : public QObject { Q_OBJECT Q_PROPERTY(uint32_t id READ getId CONSTANT) Q_PROPERTY(QString name READ getName CONSTANT); + Q_PROPERTY(bool isContactRequest READ isContactRequest CONSTANT) Q_PROPERTY(bool canSend READ canSend CONSTANT) Q_PROPERTY(bool muted READ isMuted CONSTANT) @@ -22,6 +23,7 @@ public: Q_INVOKABLE QString getName(); Q_INVOKABLE QString getProfileImage(); Q_INVOKABLE QColor getColor(); + Q_INVOKABLE bool isContactRequest (); Q_INVOKABLE bool canSend(); Q_INVOKABLE bool isMuted(); |