Commit 7959f60c authored by Linus Jahn's avatar Linus Jahn

Fix build with QXmpp 1.0.1

parent d9e3efab
Pipeline #8985 passed with stages
in 20 minutes and 30 seconds
......@@ -95,7 +95,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