From 857d9cf2b6c649feb7557ed82bf7b98b63aa376e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 6 Oct 2022 01:39:30 +0200 Subject: Basic thread filtering The reply pagination logic is a bit weird rn though. --- src/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/MainWindow.cpp') diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 63cf2844..1d743844 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -46,6 +46,7 @@ #include "encryption/DeviceVerificationFlow.h" #include "encryption/SelfVerificationStatus.h" #include "timeline/DelegateChooser.h" +#include "timeline/TimelineFilter.h" #include "timeline/TimelineViewManager.h" #include "ui/HiddenEvents.h" #include "ui/MxcAnimatedImage.h" @@ -186,6 +187,7 @@ MainWindow::registerQmlTypes() qmlRegisterType("im.nheko", 1, 0, "Login"); qmlRegisterType("im.nheko", 1, 0, "Registration"); qmlRegisterType("im.nheko", 1, 0, "HiddenEvents"); + qmlRegisterType("im.nheko", 1, 0, "TimelineFilter"); qmlRegisterUncreatableType( "im.nheko", 1, -- cgit 1.5.1