html bubbles, more simplifications, new session protocol
This commit is contained in:
parent
0c6a58ea24
commit
d3f99d6133
21 changed files with 340 additions and 169 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue