From a9caa1cb2402ab41979f4b6979d54f01b7f25149 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 14 May 2024 20:57:59 -0600 Subject: [PATCH] FOUND IT HOLY SHIT YES --- lib/sse.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/sse.go b/lib/sse.go index eb212f4..5b6e8eb 100644 --- a/lib/sse.go +++ b/lib/sse.go @@ -112,12 +112,6 @@ func HandleIncomingMessages(c echo.Context, pubsub pubsub.PubSubMessage, client return } - // Skip processing if the message payload is empty - if msg.Payload == "" { - LogInfo.Printf("Received empty message, skipping processing") - continue - } - // Prepare the data string to be sent as an SSE data := fmt.Sprintf("data: %s\n\n", msg.Payload)