mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-17 05:23:00 -06:00
unblock domains properly
This commit is contained in:
parent
8285d09da5
commit
e8f1c33b48
15 changed files with 316 additions and 130 deletions
|
|
@ -54,6 +54,7 @@ func (p *processor) DomainBlockCreate(account *gtsmodel.Account, domain string,
|
|||
PrivateComment: privateComment,
|
||||
PublicComment: publicComment,
|
||||
Obfuscate: obfuscate,
|
||||
SubscriptionID: subscriptionID,
|
||||
}
|
||||
|
||||
// put the new block in the database
|
||||
|
|
@ -140,7 +141,7 @@ selectAccountsLoop:
|
|||
p.fromClientAPI <- gtsmodel.FromClientAPI{
|
||||
APObjectType: gtsmodel.ActivityStreamsPerson,
|
||||
APActivityType: gtsmodel.ActivityStreamsDelete,
|
||||
GTSModel: a,
|
||||
GTSModel: block,
|
||||
OriginAccount: account,
|
||||
TargetAccount: a,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue