summaryrefslogtreecommitdiff
path: root/internal/message/accountprocess.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/message/accountprocess.go')
-rw-r--r--internal/message/accountprocess.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/message/accountprocess.go b/internal/message/accountprocess.go
index 8847e5789..ea03ab0ff 100644
--- a/internal/message/accountprocess.go
+++ b/internal/message/accountprocess.go
@@ -188,6 +188,13 @@ func (p *processor) AccountUpdate(authed *oauth.Auth, form *apimodel.UpdateCrede
return nil, fmt.Errorf("could not fetch updated account %s: %s", authed.Account.ID, err)
}
+ p.fromClientAPI <- gtsmodel.FromClientAPI{
+ APObjectType: gtsmodel.ActivityStreamsProfile,
+ APActivityType: gtsmodel.ActivityStreamsUpdate,
+ GTSModel: updatedAccount,
+ OriginAccount: updatedAccount,
+ }
+
acctSensitive, err := p.tc.AccountToMastoSensitive(updatedAccount)
if err != nil {
return nil, fmt.Errorf("could not convert account into mastosensitive account: %s", err)