aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-22 16:50:32 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-22 16:50:32 +0100
commitfe57edfe9b89df73da00961da47a0fcc24c67f86 (patch)
tree1f54abbf91aab4f635f95fcd590163636a31dae9 /src
parent46c042b6202bef5cae0c515edcb832102ee9f256 (diff)
Matrix: fix image not displaying because of provision
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp3
1 files changed, 2 insertions, 1 deletions
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;