aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-22 12:35:29 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-22 12:35:29 +0100
commitb126ce050a325b49bcc0ae1e153ac1f166db0a73 (patch)
treed19a4c4bb7067443ad3a027d58626094bc1a1880 /plugins
parent15f9c6d44e4aa53db78571e43eae96ef08f20025 (diff)
Matrix: filter out messages with transaction id, which fixed messages sent by us in another client
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index a806d98..da67470 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -5,6 +5,7 @@
#include "Page.hpp"
#include <SFML/Graphics/Color.hpp>
#include <unordered_map>
+#include <unordered_set>
#include <set>
#include <mutex>
#include <rapidjson/fwd.h>
@@ -544,5 +545,7 @@ namespace QuickMedia {
std::string sync_fail_reason;
MatrixDelegate *delegate = nullptr;
std::optional<std::string> filter_cached;
+
+ std::unordered_set<std::string> my_events_transaction_ids;
};
} \ No newline at end of file