mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-02-16 22:06:25 +01:00
if connect() was not previously called. Previously calling login() with arguments would not check for the preconditions. The check to throw needs to be performed in AbstractXMPPConnection before every 'abstract login(Non)Anonymously()' call. That's the two lines that check the preconditions are duplicated. Also fix NPE in XMPPTCPConnection.throwNotConnectedExceptionIfAppropriate() when packetWrite is null (i.e. if the connection was never connected before). |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle |