diff --git a/assets/index.js b/assets/index.js index 12fd160..74ef997 100644 --- a/assets/index.js +++ b/assets/index.js @@ -58,7 +58,6 @@ function onInput(event) { if (!validEvents.includes(event.inputType)) return; const payload = { client: uuid, - time: performance.now(), action: event.inputType, data: event.data, start: selectionStart, diff --git a/src/action.rs b/src/action.rs index 59864e8..1feafe2 100644 --- a/src/action.rs +++ b/src/action.rs @@ -22,7 +22,6 @@ enum ActionType { #[derive(Serialize, Deserialize)] pub(crate) struct Action { pub(crate) client: String, - time: u64, data: Option, action: ActionType, start: usize,