Skip to content

Commit 19c958c

Browse files
committed
[INTERNAL][CORE] Amends XMPPAccountStore API
Introduces get/set defaultAccount methods which should be a replacement for set/get activeAccount in the future. They allow null values making the call to isEmpty obsolete. And now it is also possible to completely remove all account data. Add getAccount methods as there was no way to retrieve specific account unless you called getAllAccounts and perform the search by yourself.
1 parent 8332a5f commit 19c958c

File tree

8 files changed

+239
-103
lines changed

8 files changed

+239
-103
lines changed

core/src/saros/account/XMPPAccount.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ public String toString() {
136136
+ ", TLS: "
137137
+ useTLS
138138
+ ", SASL: "
139-
+ useSASL
140-
+ " : ";
139+
+ useSASL;
141140
}
142141

143142
@Override

0 commit comments

Comments
 (0)