aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-12 10:04:21 +0200
committerGitHub <noreply@github.com>2021-09-12 10:04:21 +0200
commita76ed82eb298d30c7b654c74378f93a9a35580a6 (patch)
tree9359d204c59561f0c9ba12810c7b7fae88eaae07 /lib/room.h
parent41944ac3ee76029201c2108a063ae2b6354f6a22 (diff)
parent0209be8305aa38722a3d25593ae71fbb3ac05e52 (diff)
downloadlibquotient-a76ed82eb298d30c7b654c74378f93a9a35580a6.tar.gz
libquotient-a76ed82eb298d30c7b654c74378f93a9a35580a6.zip
Merge pull request #506 from TobiasFella/activateencryption
Add convenience function for activating encryption
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/room.h b/lib/room.h
index 7290f9a9..c4d94c02 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -607,6 +607,12 @@ public Q_SLOTS:
void answerCall(const QString& callId, const QString& sdp);
void hangupCall(const QString& callId);
+ /**
+ * Activates encryption for this room.
+ * Warning: Cannot be undone
+ */
+ void activateEncryption();
+
Q_SIGNALS:
/// Initial set of state events has been loaded
/**