Adapt to libquotient api changes

This commit is contained in:
Tobias Fella
2026-02-06 14:53:28 +01:00
committed by Tobias Fella
parent 793f81e733
commit 8ca1b8b1d3

View File

@@ -113,8 +113,8 @@ void EventMessageContentModel::initializeModel()
}
});
#if Quotient_VERSION_MINOR > 9
connect(m_room, &Room::newThread, this, [this](const Thread &newThread) {
if (newThread.threadRootId == m_eventId) {
connect(m_room, &Room::newThread, this, [this](const auto &newThread) {
if (newThread == m_eventId) {
resetContent();
}
});