Remove 'respond to key requests' functionality
This commit is contained in:
parent
b158c02e3b
commit
19f2c02eda
6 changed files with 2 additions and 50 deletions
|
|
@ -172,22 +172,6 @@ utils::scaleFactor()
|
|||
return settings.value("settings/scale_factor", -1).toFloat();
|
||||
}
|
||||
|
||||
bool
|
||||
utils::respondsToKeyRequests(const std::string &roomId)
|
||||
{
|
||||
return respondsToKeyRequests(QString::fromStdString(roomId));
|
||||
}
|
||||
|
||||
bool
|
||||
utils::respondsToKeyRequests(const QString &roomId)
|
||||
{
|
||||
if (roomId.isEmpty())
|
||||
return false;
|
||||
|
||||
QSettings settings;
|
||||
return settings.value("rooms/respond_to_key_requests/" + roomId, false).toBool();
|
||||
}
|
||||
|
||||
void
|
||||
utils::setKeyRequestsPreference(QString roomId, bool value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue