mirror of
https://git.ondrovo.com/MightyPork/group-actor.git
synced 2024-12-18 13:16:45 +00:00
add build script
This commit is contained in:
parent
8822d8d11d
commit
448746b1da
4 changed files with 8 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
|||
group-actor-data.toml
|
||||
.idea/
|
||||
groups.json
|
||||
fedigroups
|
||||
|
|
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
.PHONY: build
|
||||
|
||||
build:
|
||||
cargo build --release
|
||||
ln -sf ./target/release/fedigroups .
|
|
@ -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 => {
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue