diff options
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r-- | src/Utils.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp index 484b45cf..a99831c4 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -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) { |