From e4270539cf742e0f3bfa3d35f16a43457b609cbb Mon Sep 17 00:00:00 2001 From: sebibek Date: Sat, 4 Nov 2023 09:00:06 +0100 Subject: [PATCH] restore main --- src/webserver/PutUpdates.jl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/webserver/PutUpdates.jl b/src/webserver/PutUpdates.jl index 84acfb0d62..2e8a26af3c 100644 --- a/src/webserver/PutUpdates.jl +++ b/src/webserver/PutUpdates.jl @@ -1,10 +1,6 @@ -function serialize_message_to_stream(io::IO, message::UpdateMessage, recipient::ClientSession) - to_send = Dict{Symbol,Any}( - :type => message.type, - :message => message.message, - :recipient_id => recipient.id, - ) +function serialize_message_to_stream(io::IO, message::UpdateMessage) + to_send = Dict(:type => message.type, :message => message.message) if message.notebook !== nothing to_send[:notebook_id] = message.notebook.notebook_id end