aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-09-19 19:47:07 +0200
committerdefault <nobody@localhost>2024-09-19 19:47:07 +0200
commita0d1d13441cc0f766bcd49477bc9f0015639f246 (patch)
treefbd2933a01743ce92c9b46e23ee99caee1c0e9f6 /activitypub.c
parent26674e1ec3d29508e6cfb2ef9f155c6a312f2bb0 (diff)
Changed some migration terminology.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 3 insertions, 3 deletions
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;
}