aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-05 12:18:29 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-05 12:18:29 +0200
commitc35fc22c4ca2a77bfc7317d3b8f78acabb855631 (patch)
tree6e373b0a2b63889ea9d465be37aaaa6f3fc8cfd7 /src/plugins/Matrix.cpp
parenta0c0f0bd551155270b11ac23c7f1c526a20a44b9 (diff)
Matrix: fix editing hidden events being visible
Diffstat (limited to 'src/plugins/Matrix.cpp')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index f072a27..7257416 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -748,7 +748,6 @@ namespace QuickMedia {
tag_body_item->url = tag;
tag_body_items_by_name.insert(std::make_pair(tag, TagData{tag_body_item, {}}));
// TODO: Sort by tag priority
- body->apply_search_filter_for_item(tag_body_item.get());
body->append_item(tag_body_item);
tag_data = &tag_body_items_by_name[tag];
tag_data->tag_item = tag_body_item;
@@ -853,7 +852,6 @@ namespace QuickMedia {
void MatrixInvitesPage::add_body_item(std::shared_ptr<BodyItem> body_item) {
// TODO: Insert in reverse order (to show the latest invite at the top?)
- body->apply_search_filter_for_item(body_item.get());
body->insert_item_by_timestamp(std::move(body_item));
if(body->get_num_items() != prev_invite_count) {
prev_invite_count = body->get_num_items();