Insert text written after last autosave in pp session

This commit is contained in:
kiragrammel
2023-09-11 22:44:48 +02:00
committed by Sebastian Serth
parent 6e0dc9d7bc
commit 914adeed42
6 changed files with 37 additions and 12 deletions

View File

@ -38,6 +38,10 @@ class SynchronizedEditorChannel < ApplicationCable::Channel
ActionCable.server.broadcast(specific_channel, create_message('connection_status', 'connected'))
end
def current_content(message)
ActionCable.server.broadcast(specific_channel, message)
end
def create_message(action, status)
{
action:,