summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
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)
1242 } 1242 }
1243 1243
1244 /* does this user have an aka? */ 1244 /* does this user have an aka? */
1245 const char *aka = xs_dict_get(snac->config, "aka"); 1245 const char *aka = xs_dict_get(snac->config, "alias");
1246 if (xs_type(aka) == XSTYPE_STRING && *aka) { 1246 if (xs_type(aka) == XSTYPE_STRING && *aka) {
1247 xs *loaka = xs_list_append(xs_list_new(), aka); 1247 xs *loaka = xs_list_append(xs_list_new(), aka);
1248 1248
@@ -2669,10 +2669,10 @@ int process_queue(void)
2669int migrate_account(snac *user) 2669int migrate_account(snac *user)
2670/* migrates this account to a new one (stored in the 'aka' user field) */ 2670/* migrates this account to a new one (stored in the 'aka' user field) */
2671{ 2671{
2672 const char *new_account = xs_dict_get(user->config, "aka"); 2672 const char *new_account = xs_dict_get(user->config, "alias");
2673 2673
2674 if (xs_type(new_account) != XSTYPE_STRING) { 2674 if (xs_type(new_account) != XSTYPE_STRING) {
2675 snac_log(user, xs_fmt("Cannot migrate: 'aka' (new account) not defined")); 2675 snac_log(user, xs_fmt("Cannot migrate: alias (destination account) not set"));
2676 return 1; 2676 return 1;
2677 } 2677 }
2678 2678