diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-16 22:56:48 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-16 22:56:48 +0200 |
| commit | 4c8d5fdded36e1a57840e0c9d499e75213952f7d (patch) | |
| tree | dee686e63bed477b1a251dbe141d5ad2b0f4b59f /src/base/QXmppStun.cpp | |
| parent | 93d8f06b1ecaf558b7c3731b3184f6b9abcfa061 (diff) | |
| download | qxmpp-4c8d5fdded36e1a57840e0c9d499e75213952f7d.tar.gz | |
ICE: do not send USERNAME in binding responses
Diffstat (limited to 'src/base/QXmppStun.cpp')
| -rw-r--r-- | src/base/QXmppStun.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base/QXmppStun.cpp b/src/base/QXmppStun.cpp index b0a2c9a7..fe88cd38 100644 --- a/src/base/QXmppStun.cpp +++ b/src/base/QXmppStun.cpp @@ -2072,7 +2072,6 @@ void QXmppIceComponent::handleDatagram(const QByteArray &buffer, const QHostAddr QXmppStunMessage response; response.setId(message.id()); response.setType(QXmppStunMessage::Binding | QXmppStunMessage::Response); - response.setUsername(message.username()); response.xorMappedHost = pair->remote.host(); response.xorMappedPort = pair->remote.port(); writeStun(response, pair); |
