From 48c47f097adb9d142e1af3df0e678e2493cae84e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 17 Jun 2023 14:23:32 +0000 Subject: [PATCH] This seems to fix losing sizes when attaching files. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4327 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- apps/ssb/tf-compose.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ssb/tf-compose.js b/apps/ssb/tf-compose.js index 7276d3d1e..fbeab91a9 100644 --- a/apps/ssb/tf-compose.js +++ b/apps/ssb/tf-compose.js @@ -154,6 +154,7 @@ class TfComposeElement extends LitElement { size: buffer.length ?? buffer.byteLength, }; let edit = self.renderRoot.getElementById('edit'); + self.notify(draft); edit.value += `\n![${name}](${id})`; self.change(); self.input();