From f5862e8b6fccb85f7080ccddcdea436540588b36 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 26 Feb 2021 15:00:55 +0100 Subject: Add public method to determine if we can change the user password --- lib/connection.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/connection.h') diff --git a/lib/connection.h b/lib/connection.h index 4f949641..0d22d01f 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -354,6 +354,11 @@ public: * \sa loadingCapabilities */ QVector availableRoomVersions() const; + /// Indicate if the user can change its password from the client. + /// This is often not the case when SSO is enabled. + /// \sa loadingCapabilities + bool canChangePassword() const; + /** * Call this before first sync to load from previously saved file. * -- cgit v1.2.3