Преглед на файлове

don't send the hash when opening the editor

Gildas преди 3 месеца
родител
ревизия
8510515b4e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/core/bg/downloads.js

+ 1 - 1
src/core/bg/downloads.js

@@ -89,7 +89,7 @@ async function onMessage(message, sender) {
 		return {};
 	}
 	if (message.method.endsWith(".end")) {
-		if (message.hash) {
+		if (message.hash && !message.openEditor) {
 			try {
 				await woleet.anchor(message.hash, message.woleetKey);
 			} catch (error) {