From 285d55dda8b4de70661b16db4986d47e4e586ea2 Mon Sep 17 00:00:00 2001 From: Sam Lade Date: Sat, 16 Dec 2023 11:55:49 +0000 Subject: [feature] Push status edit messages into open streams (#2418) * push status edit messages into open streams * fix a few comments * test++ * commented out code? moi? --- internal/processing/workers/fromclientapi.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/processing/workers/fromclientapi.go') diff --git a/internal/processing/workers/fromclientapi.go b/internal/processing/workers/fromclientapi.go index e3f1e2d76..05b9acc1f 100644 --- a/internal/processing/workers/fromclientapi.go +++ b/internal/processing/workers/fromclientapi.go @@ -416,6 +416,11 @@ func (p *clientAPI) UpdateStatus(ctx context.Context, cMsg messages.FromClientAP } } + // Push message that the status has been edited to streams. + if err := p.surface.timelineStatusUpdate(ctx, status); err != nil { + log.Errorf(ctx, "error streaming status edit: %v", err) + } + return nil } -- cgit v1.2.3