mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Fixed bug enforcing the creation of new OwnCloudClients unintendedly
This commit is contained in:
parent
0cf2835268
commit
37f4383b07
@ -53,7 +53,7 @@ public class OwnCloudClientMap {
|
||||
throws OperationCanceledException, AuthenticatorException,
|
||||
AccountNotFoundException, IOException {
|
||||
|
||||
OwnCloudClient client = mClients.get(account);
|
||||
OwnCloudClient client = mClients.get(account.name);
|
||||
if (client == null) {
|
||||
client = OwnCloudClientFactory.createOwnCloudClient(
|
||||
account,
|
||||
|
Loading…
x
Reference in New Issue
Block a user