From a0d1d13441cc0f766bcd49477bc9f0015639f246 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 19 Sep 2024 19:47:07 +0200 Subject: Changed some migration terminology. --- activitypub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index b15b883..7a8d4fa 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1242,7 +1242,7 @@ xs_dict *msg_actor(snac *snac) } /* does this user have an aka? */ - const char *aka = xs_dict_get(snac->config, "aka"); + const char *aka = xs_dict_get(snac->config, "alias"); if (xs_type(aka) == XSTYPE_STRING && *aka) { xs *loaka = xs_list_append(xs_list_new(), aka); @@ -2669,10 +2669,10 @@ int process_queue(void) int migrate_account(snac *user) /* migrates this account to a new one (stored in the 'aka' user field) */ { - const char *new_account = xs_dict_get(user->config, "aka"); + const char *new_account = xs_dict_get(user->config, "alias"); if (xs_type(new_account) != XSTYPE_STRING) { - snac_log(user, xs_fmt("Cannot migrate: 'aka' (new account) not defined")); + snac_log(user, xs_fmt("Cannot migrate: alias (destination account) not set")); return 1; } -- cgit v1.2.3