diff --git a/src/models/messagecontentmodel.cpp b/src/models/messagecontentmodel.cpp index 0369727a2..1a9a4c702 100644 --- a/src/models/messagecontentmodel.cpp +++ b/src/models/messagecontentmodel.cpp @@ -12,7 +12,7 @@ #include #include #include -#if Quotient_VERSION_MINOR > 9 +#if Quotient_VERSION_MINOR > 9 || (Quotient_VERSION_MINOR == 9 && Quotient_VERSION_PATCH > 1) #include #endif @@ -478,7 +478,7 @@ QList MessageContentModel::messageContentComponents(bool isEdi } // If the event is already threaded the ThreadModel will handle displaying a chat bar. -#if Quotient_VERSION_MINOR > 9 +#if Quotient_VERSION_MINOR > 9 || (Quotient_VERSION_MINOR == 9 && Quotient_VERSION_PATCH > 1) if (isThreading && roomMessageEvent && !(roomMessageEvent->isThreaded() || m_room->threads().contains(roomMessageEvent->id()))) { #else if (isThreading && roomMessageEvent && roomMessageEvent->isThreaded()) {