mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Move duplicate code in AbstractXMPPConnection
from XMPP(TCP|BOSH)Connection.
This commit is contained in:
parent
489a48bf86
commit
013f4d630a
4 changed files with 9 additions and 12 deletions
|
@ -90,6 +90,7 @@ public class DummyConnection extends AbstractXMPPConnection {
|
|||
@Override
|
||||
protected void connectInternal() {
|
||||
connected = true;
|
||||
saslFeatureReceived.reportSuccess();
|
||||
streamId = "dummy-" + new Random(new Date().getTime()).nextInt();
|
||||
|
||||
if (reconnect) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue