mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-10-22 04:10:28 +03:00
After several tests, migration to Mastodon seems to work 🎉🥳.
This commit is contained in:
parent
121df9cf0e
commit
6ffc31cc42
@ -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
1
main.c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user