html bubbles, more simplifications, new session protocol

This commit is contained in:
Andrew Gundersen 2022-01-08 16:53:45 -06:00
commit d3f99d6133
21 changed files with 340 additions and 169 deletions

View file

@ -47,7 +47,10 @@ function useText(elementId, left, typing)
if (e.key === "Enter" && el.value)
{
window.mainApi.send("message", {
text: el.value, audio: null });
category: "text/plain",
text: el.value,
blob: null
});
show.value = false;
}
});
@ -70,4 +73,4 @@ function useText(elementId, left, typing)
return { leftSide, show };
}
export default useText;
export default useText;