Permalink
Browse files

Set Stream Management to disabled when the socket becomes ready

This is important for reconnects.
  • Loading branch information...
olesalscheider authored and jlaine committed Apr 26, 2017
1 parent e4b0ad0 commit 5804795a35d27f8d10301d5f40567a34efca2643
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/base/QXmppStream.cpp
View
@@ -112,6 +112,7 @@ void QXmppStream::disconnectFromHost()
void QXmppStream::handleStart()
{
d->streamManagementEnabled = false;
d->dataBuffer.clear();
d->streamStart.clear();
}

0 comments on commit 5804795

Please sign in to comment.