Remove 'respond to key requests' functionality
This commit is contained in:
parent
b158c02e3b
commit
19f2c02eda
6 changed files with 2 additions and 50 deletions
|
|
@ -291,12 +291,6 @@ RoomSettings::accessJoinRules()
|
|||
return accessRules_;
|
||||
}
|
||||
|
||||
bool
|
||||
RoomSettings::respondsToKeyRequests()
|
||||
{
|
||||
return usesEncryption_ && utils::respondsToKeyRequests(roomid_);
|
||||
}
|
||||
|
||||
void
|
||||
RoomSettings::changeKeyRequestsPreference(bool isOn)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ class RoomSettings : public QObject
|
|||
Q_PROPERTY(bool canChangeJoinRules READ canChangeJoinRules CONSTANT)
|
||||
Q_PROPERTY(bool canChangeNameAndTopic READ canChangeNameAndTopic CONSTANT)
|
||||
Q_PROPERTY(bool isEncryptionEnabled READ isEncryptionEnabled NOTIFY encryptionChanged)
|
||||
Q_PROPERTY(bool respondsToKeyRequests READ respondsToKeyRequests NOTIFY keyRequestsChanged)
|
||||
|
||||
public:
|
||||
RoomSettings(QString roomid, QObject *parent = nullptr);
|
||||
|
|
@ -91,7 +90,6 @@ public:
|
|||
int memberCount() const;
|
||||
int notifications();
|
||||
int accessJoinRules();
|
||||
bool respondsToKeyRequests();
|
||||
bool isLoading() const;
|
||||
//! Whether the user has enough power level to send m.room.join_rules events.
|
||||
bool canChangeJoinRules() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue