Commit 77a5c1b1 authored by Linus Jahn's avatar Linus Jahn

Fix build with QXmpp 1.0.1

parent 1b806057
Pipeline #8986 failed with stages
in 1 minute and 1 second
......@@ -101,7 +101,7 @@ void MessageHandler::handleMessage(const QXmppMessage &msg)
message.setId(msg.id());
message.setBody(msg.body());
message.setMediaType(MessageType::MessageText); // default to text message without media
#if (QXMPP_VERSION) >= QT_VERSION_CHECK(1, 0, 1)
#if (QXMPP_VERSION) >= QT_VERSION_CHECK(1, 1, 0)
message.setIsSpoiler(msg.isSpoiler());
message.setSpoilerHint(msg.spoilerHint());
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment