diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-03-31 18:02:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-03-31 18:02:27 +0200 |
commit | 521589c6026246113117a0f8ad568e0061aba46a (patch) | |
tree | d5def5bafd3cd2a0f86e3147576096d9711f89cd /src/plugins | |
parent | 25217db93f952c95d834e6f32dc2340a2054df0a (diff) |
Do not upload thumbnail of thumbnail for videos
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 20bc31e..128e610 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3170,7 +3170,7 @@ namespace QuickMedia { if(tmp_file != -1) { if(video_get_first_frame(filepath.c_str(), tmp_filename)) { UploadInfo upload_info_ignored; // Ignore because it wont be set anyways. Thumbnails dont have thumbnails. - PluginResult upload_thumbnail_result = upload_file(room, tmp_filename, thumbnail_info, upload_info_ignored, err_msg); + PluginResult upload_thumbnail_result = upload_file(room, tmp_filename, thumbnail_info, upload_info_ignored, err_msg, false); if(upload_thumbnail_result != PluginResult::OK) { close(tmp_file); remove(tmp_filename); |