remove time parameter, it's not useful right now

This commit is contained in:
Sebastian Hugentobler 2023-02-23 13:45:18 +01:00
parent 869efdd56a
commit e2831d7c6b
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ function onInput(event) {
if (!validEvents.includes(event.inputType)) return; if (!validEvents.includes(event.inputType)) return;
const payload = { const payload = {
client: uuid, client: uuid,
time: performance.now(),
action: event.inputType, action: event.inputType,
data: event.data, data: event.data,
start: selectionStart, start: selectionStart,

View File

@ -22,7 +22,6 @@ enum ActionType {
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
pub(crate) struct Action { pub(crate) struct Action {
pub(crate) client: String, pub(crate) client: String,
time: u64,
data: Option<String>, data: Option<String>,
action: ActionType, action: ActionType,
start: usize, start: usize,