From eee58986e971fb72f3c15d0fcd316b20ae202fac Mon Sep 17 00:00:00 2001 From: Dan Breslau Date: Tue, 2 May 2017 20:02:22 -0400 Subject: [PATCH] Fixed an assertion error that was found when trying to reproduce https://bugs.launchpad.net/moonshot-ui/+bug/1430980 (Importing blank identity uses username and realm from previously imported identity) --- src/moonshot-identities-manager.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moonshot-identities-manager.vala b/src/moonshot-identities-manager.vala index aad417e..a11e726 100644 --- a/src/moonshot-identities-manager.vala +++ b/src/moonshot-identities-manager.vala @@ -210,7 +210,7 @@ public class IdentityManagerModel : Object { } - public IdCard? find_id_card(string nai, bool force_flat_file_store) { + public IdCard? find_id_card(string? nai, bool force_flat_file_store) { IdCard? retval = null; IIdentityCardStore.StoreType saved_store_type = get_store_type(); if (force_flat_file_store) -- 2.1.4