Новый протокол кодирования и декодирования вложений
This commit is contained in:
@@ -92,7 +92,10 @@ export function DialogInput() {
|
||||
preview: files[0].size + "::" + files[0].name,
|
||||
transport_server: "",
|
||||
transport_tag: "",
|
||||
encoded_for: dialog
|
||||
encoding: {
|
||||
encoded_for: dialog,
|
||||
encoder: publicKey
|
||||
}
|
||||
}]);
|
||||
}
|
||||
});
|
||||
@@ -122,7 +125,10 @@ export function DialogInput() {
|
||||
preview: "",
|
||||
transport_server: "",
|
||||
transport_tag: "",
|
||||
encoded_for: dialog
|
||||
encoding: {
|
||||
encoded_for: dialog,
|
||||
encoder: publicKey
|
||||
}
|
||||
}]);
|
||||
if(editableDivRef.current){
|
||||
editableDivRef.current.focus();
|
||||
@@ -239,7 +245,10 @@ export function DialogInput() {
|
||||
preview: "",
|
||||
transport_server: "",
|
||||
transport_tag: "",
|
||||
encoded_for: dialog
|
||||
encoding: {
|
||||
encoded_for: dialog,
|
||||
encoder: publicKey
|
||||
}
|
||||
}]);
|
||||
if(editableDivRef.current){
|
||||
editableDivRef.current.focus();
|
||||
@@ -282,7 +291,10 @@ export function DialogInput() {
|
||||
preview: "",
|
||||
transport_server: "",
|
||||
transport_tag: "",
|
||||
encoded_for: dialog
|
||||
encoding: {
|
||||
encoded_for: dialog,
|
||||
encoder: publicKey
|
||||
}
|
||||
}]);
|
||||
}
|
||||
if(editableDivRef.current){
|
||||
@@ -319,7 +331,10 @@ export function DialogInput() {
|
||||
preview: files[0].size + "::" + files[0].name,
|
||||
transport_server: "",
|
||||
transport_tag: "",
|
||||
encoded_for: dialog
|
||||
encoding: {
|
||||
encoded_for: dialog,
|
||||
encoder: publicKey
|
||||
}
|
||||
}]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user