diff options
author | 2021-06-21 15:56:00 +0200 | |
---|---|---|
committer | 2021-06-21 15:56:00 +0200 | |
commit | a5fd6f427bab2cac03b4da5668eed18b900ba3be (patch) | |
tree | 5456928a707656a54cddcffb1199f59a4bc9039e /internal/processing/fromcommon.go | |
parent | Testrig fixes (#50) (diff) | |
download | gotosocial-a5fd6f427bab2cac03b4da5668eed18b900ba3be.tar.xz |
Deletes+unboosts (#52)
* Status deletes properly streamed now.
* Unboosts now work locally and federated.
* Documentation updates.
Diffstat (limited to 'internal/processing/fromcommon.go')
-rw-r--r-- | internal/processing/fromcommon.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/processing/fromcommon.go b/internal/processing/fromcommon.go index e10f75441..d719b7f5f 100644 --- a/internal/processing/fromcommon.go +++ b/internal/processing/fromcommon.go @@ -401,5 +401,9 @@ func (p *processor) timelineStatusForAccount(status *gtsmodel.Status, accountID } func (p *processor) deleteStatusFromTimelines(status *gtsmodel.Status) error { - return p.timelineManager.WipeStatusFromAllTimelines(status.ID) + if err := p.timelineManager.WipeStatusFromAllTimelines(status.ID); err != nil { + return err + } + + return p.streamingProcessor.StreamDelete(status.ID) } |