Browse Source

Fix #67 remove attachment from pending messages

isundil 6 years ago
parent
commit
fbcc88b6ef
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cli/uiMessage.js

+ 2 - 0
cli/uiMessage.js

@@ -507,6 +507,8 @@ function createTmpMsgDom(input, isMe) {
     dot.textContent = '.';
     dom.ts.appendChild(dot);
     dom.ts.classList.add(R.klass.typing.container);
+
+    dom.attachmentWrapper.remove();
     return dom;
 }