Remove 'respond to key requests' functionality

This commit is contained in:
Joseph Donofry 2021-07-15 18:08:59 -04:00
parent b158c02e3b
commit 19f2c02eda
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
6 changed files with 2 additions and 50 deletions

View file

@ -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)
{