ssb tf-compose fixes.

This commit is contained in:
Cory McWilliams 2024-04-21 18:53:47 -04:00
parent d6bb9d311a
commit c6fd05c2cf
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"type": "tildefriends-app",
"emoji": "🐌",
"previous": "&26lpldEsyITn9DFPO9NvdU534QCvF9HIER1EE3w1C74=.sha256"
"previous": "&r2Xphgr4HGdG4WnqWngj8fcAs1xHfZ1a2DJgqr7hqZA=.sha256"
}

View File

@ -168,7 +168,6 @@ class TfComposeElement extends LitElement {
};
let edit = self.renderRoot.getElementById('edit');
edit.innerText += `\n![${name}](${id})`;
self.change();
self.input();
} catch (e) {
alert(e?.message);
@ -224,7 +223,7 @@ class TfComposeElement extends LitElement {
try {
await tfrpc.rpc.appendMessage(this.whoami, message).then(function () {
edit.innerText = '';
self.change();
self.input();
self.notify(undefined);
self.requestUpdate();
});