Explorar el Código

Fix #67 remove attachment from pending messages

isundil hace 6 años
padre
commit
fbcc88b6ef
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;
 }