summary refs log tree commit diff
path: root/src/Cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index b1d03921..90b087db 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -3835,7 +3835,7 @@ Cache::displayName(const QString &room_id, const QString &user_id) static bool isDisplaynameSafe(const std::string &s) { - for (QChar c : QString::fromStdString(s).toUcs4()) { + for (QChar c : QString::fromStdString(s)) { if (c.isPrint() && !c.isSpace()) return false; }