1
0
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:
David A. Velasco 2014-06-09 11:02:02 +02:00
parent 0cf2835268
commit 37f4383b07

View File

@ -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,