diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-20 23:34:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-20 23:34:30 +0200 |
commit | 3c16cb376669e4ae500d22529b40112c761088c0 (patch) | |
tree | 7573fbff452e16741b693700ad5068662043c31a /src/plugins | |
parent | 6900159a36ed365e628ecbcbad892a91ccd68d9e (diff) |
Fix cursor not autohiding sometimes because start of video is not always detected properly
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 7439bf6..4d00949 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3468,7 +3468,7 @@ namespace QuickMedia { } if((int)file_analyzer.get_file_size() > upload_limit) { - err_msg = "File is too large! max upload size on your homeserver is " + std::to_string(upload_limit) + " bytes, the file you tried to upload is " + std::to_string(file_analyzer.get_file_size()) + " bytes"; + err_msg = "File is too large! max upload size on your homeserver is " + std::to_string((double)upload_limit / 1024.0 / 1024.0) + " mb, the file you tried to upload is " + std::to_string((double)file_analyzer.get_file_size() / 1024.0 / 1024.0) + " mb"; return PluginResult::ERR; } |