aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-10-09 11:34:50 +0200
committerdefault <nobody@localhost>2024-10-09 11:34:50 +0200
commit6ffc31cc4289c77ca29337102aa2b7e514d08625 (patch)
tree9bdecb66740ee48871f4f0b88759a16d534ac1d4
parent121df9cf0e55b71e1b773dc5d642e50e7f44b885 (diff)
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)
xs *move = msg_move(user, new_account);
xs *fwers = follower_list(user);
- snac_log(user, xs_fmt("WORK IN PROGRESS - ANYTHING CAN HAPPEN"));
-
const char *actor;
xs_list_foreach(fwers, actor) {
/* 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[])
}
else {
snac.config = xs_dict_set(snac.config, "alias", actor);
+ snac.config = xs_dict_set(snac.config, "alias_raw", url);
user_persist(&snac, 1);
}