Release threads removing the feature flag.
This mr performs some final cleanup to make sure the threads are sized correctly and it all works with the new chatbar
This commit is contained in:
committed by
Joshua Goins
parent
85b731e9fb
commit
7e6b79d5d4
@@ -207,10 +207,6 @@
|
||||
</entry>
|
||||
</group>
|
||||
<group name="FeatureFlags">
|
||||
<entry name="Threads" type="bool">
|
||||
<label>Enable threads</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="Phone3PId" type="bool">
|
||||
<label>Enable add phone numbers as 3PIDs</label>
|
||||
<default>false</default>
|
||||
|
||||
@@ -129,15 +129,6 @@ RoomManager::RoomManager(QObject *parent)
|
||||
m_messageFilterModel->invalidate();
|
||||
}
|
||||
});
|
||||
ContentProvider::self().setThreadsEnabled(NeoChatConfig::threads());
|
||||
MessageModel::setThreadsEnabled(NeoChatConfig::threads());
|
||||
connect(NeoChatConfig::self(), &NeoChatConfig::ThreadsChanged, this, [this] {
|
||||
ContentProvider::self().setThreadsEnabled(NeoChatConfig::threads());
|
||||
MessageModel::setThreadsEnabled(NeoChatConfig::threads());
|
||||
if (m_timelineModel) {
|
||||
Q_EMIT m_timelineModel->threadsEnabledChanged();
|
||||
}
|
||||
});
|
||||
connect(NeoChatConfig::self(), &NeoChatConfig::SortOrderChanged, this, [this]() {
|
||||
m_sortFilterRoomTreeModel->invalidate();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user