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