From fe57edfe9b89df73da00961da47a0fcc24c67f86 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 22 Nov 2020 16:50:32 +0100 Subject: Matrix: fix image not displaying because of provision --- src/plugins/Matrix.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index c54a8f6..cece6e2 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -2435,7 +2435,8 @@ namespace QuickMedia { std::string transaction_id = create_transaction_id(); if(transaction_id.empty()) return PluginResult::ERR; - my_events_transaction_ids.insert(transaction_id); + if(!file_info) + my_events_transaction_ids.insert(transaction_id); std::string formatted_body; bool contains_formatted_text = false; -- cgit v1.2.3