Skip to content

Commit

Permalink
restore main
Browse files Browse the repository at this point in the history
  • Loading branch information
sebibek committed Nov 4, 2023
1 parent 8f9db4b commit e427053
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/webserver/PutUpdates.jl
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e427053

Please sign in to comment.