diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-22 12:35:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-22 12:35:29 +0100 |
commit | b126ce050a325b49bcc0ae1e153ac1f166db0a73 (patch) | |
tree | d19a4c4bb7067443ad3a027d58626094bc1a1880 /plugins | |
parent | 15f9c6d44e4aa53db78571e43eae96ef08f20025 (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.hpp | 3 |
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 |