[calls/wip/ui-manage-accounts: 23/26] account-manager: Add credentials when we don't have a suitable provider
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls/wip/ui-manage-accounts: 23/26] account-manager: Add credentials when we don't have a suitable provider
- Date: Fri, 16 Jul 2021 12:16:34 +0000 (UTC)
commit 47bba97636750bfb2e504d3880876c081c775e78
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date: Wed Jun 30 13:55:20 2021 +0200
account-manager: Add credentials when we don't have a suitable provider
The provider might show up later and will add suitable credentials.
src/calls-account-manager.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calls-account-manager.c b/src/calls-account-manager.c
index 8412d9da..bc9c8b08 100644
--- a/src/calls-account-manager.c
+++ b/src/calls-account-manager.c
@@ -461,9 +461,8 @@ calls_account_manager_add_credentials (CallsAccountManager *self,
if (!find_provider (self, credentials_type, &index)) {
g_autofree char *provider_type =
g_enum_to_string (CALLS_TYPE_CREDENTIALS_TYPE, credentials_type);
- /* TODO we should be able to queue something up eventually but let's abort for now */
- g_info ("Cannot find provider of type '%s'. Aborting (for now).", provider_type);
- return NULL;
+ g_info ("Cannot find provider of type '%s'", provider_type);
+ goto skip_provider;
}
provider = g_ptr_array_index (self->providers, index);
@@ -475,6 +474,7 @@ calls_account_manager_add_credentials (CallsAccountManager *self,
return NULL;
}
+ skip_provider:
g_list_store_append (self->credentials, credentials);
update_state (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]