Fix build with libquotient dev (version: 0.9.2)

This commit is contained in:
Carl Schwan
2025-01-19 16:49:47 +01:00
parent 5efaa72cea
commit 2897f9e9b8

View File

@@ -136,7 +136,7 @@ QList<ActionsModel::Action> actions{
Action{
u"plain"_s,
[](const QString &text, NeoChatRoom *room, ChatBarCache *) {
#if Quotient_VERSION_MINOR > 9
#if Quotient_VERSION_MINOR >= 9
room->postText(text.toHtmlEscaped());
#else
room->postPlainText(text.toHtmlEscaped());