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/fromfediapi.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/processing/workers/fromfediapi.go') diff --git a/internal/processing/workers/fromfediapi.go b/internal/processing/workers/fromfediapi.go index d04e4ab8d..6dd4e543d 100644 --- a/internal/processing/workers/fromfediapi.go +++ b/internal/processing/workers/fromfediapi.go @@ -530,6 +530,11 @@ func (p *fediAPI) UpdateStatus(ctx context.Context, fMsg messages.FromFediAPI) e } } + // 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