From 43e7de19358f730ee18d690a993e97a5195b80c9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 29 Jul 2021 05:16:57 +0200 Subject: Faster video loading/error when not using xxx plugin (disable ytdl) --- src/plugins/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Matrix.cpp') diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 68b9524..ca211e1 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -34,7 +34,7 @@ static const char* CONTINUE_FILTER = "{\"presence\":{\"limit\":0,\"types\":[\"\" static std::string capitalize(const std::string &str) { if(str.size() >= 1) - return (char)std::toupper(str[0]) + str.substr(1); + return QuickMedia::to_upper(str[0]) + str.substr(1); else return ""; } -- cgit v1.2.3