mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
getInstanceFor() for ChatManager and AccountManager
This commit is contained in:
parent
6197f6200f
commit
4db967079f
9 changed files with 97 additions and 102 deletions
|
@ -153,8 +153,7 @@ public class BOSHPacketReader implements BOSHClientResponseListener {
|
|||
// The server supports sessions
|
||||
connection.getSASLAuthentication().sessionsSupported();
|
||||
} else if (parser.getName().equals("register")) {
|
||||
connection.getAccountManager().setSupportsAccountCreation(
|
||||
true);
|
||||
AccountManager.getInstance(connection).setSupportsAccountCreation(true);
|
||||
}
|
||||
} else if (eventType == XmlPullParser.END_TAG) {
|
||||
if (parser.getName().equals("features")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue