diff options
Diffstat (limited to 'src/server/QXmppIncomingServer.cpp')
| -rw-r--r-- | src/server/QXmppIncomingServer.cpp | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/src/server/QXmppIncomingServer.cpp b/src/server/QXmppIncomingServer.cpp index c56ba813..dd245606 100644 --- a/src/server/QXmppIncomingServer.cpp +++ b/src/server/QXmppIncomingServer.cpp @@ -1,25 +1,6 @@ -/* - * Copyright (C) 2008-2021 The QXmpp developers - * - * Author: - * Jeremy Lainé - * - * Source: - * https://github.com/qxmpp-project/qxmpp - * - * This file is a part of QXmpp library. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - */ +// SPDX-FileCopyrightText: 2010 Jeremy Lainé <jeremy.laine@m4x.org> +// +// SPDX-License-Identifier: LGPL-2.1-or-later #include "QXmppIncomingServer.h" @@ -130,8 +111,6 @@ void QXmppIncomingServer::handleStream(const QDomElement &streamElement) void QXmppIncomingServer::handleStanza(const QDomElement &stanza) { - const QString ns = stanza.namespaceURI(); - if (QXmppStartTlsPacket::isStartTlsPacket(stanza, QXmppStartTlsPacket::StartTls)) { sendPacket(QXmppStartTlsPacket(QXmppStartTlsPacket::Proceed)); socket()->flush(); |
