Commit 3fc7cf26 authored by LNJ's avatar LNJ 💬

Remove debug output

It's always a good idea to not use reviews.
parent 2bda8dca
......@@ -106,10 +106,8 @@ void MessageHandler::handleMessage(const QXmppMessage &msg)
message.setSpoilerHint(msg.spoilerHint());
#else
for (const QXmppElement &extension : msg.extensions()) {
qDebug() << extension.tagName();
if (extension.tagName() == "spoiler" &&
extension.attribute("xmlns") == NS_SPOILERS) {
qDebug() << "SPOILER MESSAGE";
message.setIsSpoiler(true);
message.setSpoilerHint(extension.value());
break;
......
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