After several tests, migration to Mastodon seems to work 🎉🥳.

This commit is contained in:
default 2024-10-09 11:34:50 +02:00
parent 121df9cf0e
commit 6ffc31cc42
2 changed files with 1 additions and 2 deletions

View file

@ -2701,8 +2701,6 @@ int migrate_account(snac *user)
xs *move = msg_move(user, new_account); xs *move = msg_move(user, new_account);
xs *fwers = follower_list(user); xs *fwers = follower_list(user);
snac_log(user, xs_fmt("WORK IN PROGRESS - ANYTHING CAN HAPPEN"));
const char *actor; const char *actor;
xs_list_foreach(fwers, actor) { xs_list_foreach(fwers, actor) {
/* get the actor inbox, excluding the shared one */ /* get the actor inbox, excluding the shared one */

1
main.c
View file

@ -298,6 +298,7 @@ int main(int argc, char *argv[])
} }
else { else {
snac.config = xs_dict_set(snac.config, "alias", actor); snac.config = xs_dict_set(snac.config, "alias", actor);
snac.config = xs_dict_set(snac.config, "alias_raw", url);
user_persist(&snac, 1); user_persist(&snac, 1);
} }