summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-10-09 11:34:50 +0200
committerGravatar default2024-10-09 11:34:50 +0200
commit6ffc31cc4289c77ca29337102aa2b7e514d08625 (patch)
tree9bdecb66740ee48871f4f0b88759a16d534ac1d4
parentIn migrate_account(), always download the alias actor. (diff)
downloadsnac2-6ffc31cc4289c77ca29337102aa2b7e514d08625.tar.gz
snac2-6ffc31cc4289c77ca29337102aa2b7e514d08625.tar.xz
snac2-6ffc31cc4289c77ca29337102aa2b7e514d08625.zip
After several tests, migration to Mastodon seems to work 🎉🥳.
-rw-r--r--activitypub.c2
-rw-r--r--main.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 2f668a8..66d7f10 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2701,8 +2701,6 @@ int migrate_account(snac *user)
2701 xs *move = msg_move(user, new_account); 2701 xs *move = msg_move(user, new_account);
2702 xs *fwers = follower_list(user); 2702 xs *fwers = follower_list(user);
2703 2703
2704 snac_log(user, xs_fmt("WORK IN PROGRESS - ANYTHING CAN HAPPEN"));
2705
2706 const char *actor; 2704 const char *actor;
2707 xs_list_foreach(fwers, actor) { 2705 xs_list_foreach(fwers, actor) {
2708 /* get the actor inbox, excluding the shared one */ 2706 /* get the actor inbox, excluding the shared one */
diff --git a/main.c b/main.c
index 3c7ccb1..df696c0 100644
--- a/main.c
+++ b/main.c
@@ -298,6 +298,7 @@ int main(int argc, char *argv[])
298 } 298 }
299 else { 299 else {
300 snac.config = xs_dict_set(snac.config, "alias", actor); 300 snac.config = xs_dict_set(snac.config, "alias", actor);
301 snac.config = xs_dict_set(snac.config, "alias_raw", url);
301 302
302 user_persist(&snac, 1); 303 user_persist(&snac, 1);
303 } 304 }