diff --git a/libdc/src/account.c b/libdc/src/account.c index 63b4b9d..363dd66 100644 --- a/libdc/src/account.c +++ b/libdc/src/account.c @@ -140,10 +140,8 @@ void dc_account_set_id(dc_account_t a, char const *id) { return_if_true(a == NULL,); - if (a->id == NULL || strcmp(a->id, "@me")) { - free(a->id); - a->id = strdup(id); - } + free(a->id); + a->id = strdup(id); } char const *dc_account_id(dc_account_t a)