snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 6ffc31cc4289c77ca29337102aa2b7e514d08625
parent 121df9cf0e55b71e1b773dc5d642e50e7f44b885
Author: default <nobody@localhost>
Date:   Wed,  9 Oct 2024 11:34:50 +0200

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

Diffstat:
Mactivitypub.c | 2--
Mmain.c | 1+
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 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 @@ -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); }