diff --git a/.gitignore b/.gitignore index 88bf4b8..5a62f49 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ group-actor-data.toml .idea/ groups.json +fedigroups diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0fadb08 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: build + +build: + cargo build --release + ln -sf ./target/release/fedigroups . diff --git a/src/group_handle.rs b/src/group_handle.rs index 1952c0b..ddcd1fa 100644 --- a/src/group_handle.rs +++ b/src/group_handle.rs @@ -172,11 +172,6 @@ impl GroupHandle { let mut replies = vec![]; let mut announcements = vec![]; let mut do_boost_prev_post = false; - // let mut new_members = vec![]; - // let mut new_admins = vec![]; - // let mut removed_admins = vec![]; - // let mut instance_ban_announcements = vec![]; - // let mut instance_unban_announcements = vec![]; let mut any_admin_cmd = false; if commands.is_empty() { @@ -206,7 +201,7 @@ impl GroupHandle { return Ok(()); } StatusCommand::Announce(a) => { - debug!("Sending PSA"); + info!("Sending PSA"); announcements.push(a); } StatusCommand::Boost => { diff --git a/src/store/mod.rs b/src/store/mod.rs index 8ebe623..6c8fc1c 100644 --- a/src/store/mod.rs +++ b/src/store/mod.rs @@ -130,7 +130,7 @@ impl ConfigStore { match client.verify_credentials().await { Ok(account) => { info!( - "Group account verified: @{}, {}", + "Group account verified: @{}, \"{}\"", account.acct, account.display_name ); }