aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppIncomingServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QXmppIncomingServer.cpp')
-rw-r--r--src/QXmppIncomingServer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/QXmppIncomingServer.cpp b/src/QXmppIncomingServer.cpp
index da1b4c92..853eac8e 100644
--- a/src/QXmppIncomingServer.cpp
+++ b/src/QXmppIncomingServer.cpp
@@ -147,9 +147,8 @@ void QXmppIncomingServer::handleStanza(const QDomElement &stanza)
else if (!d->authenticated.isEmpty() &&
jidToDomain(stanza.attribute("from")) == d->authenticated)
{
- // relay packets if the remote party is authenticated
- bool handled = false;
- emit elementReceived(stanza, handled);
+ // relay stanza if the remote party is authenticated
+ emit elementReceived(stanza);
} else {
warning("Received an element, but remote party is not authenticated");
}