sceyt-chat-react-uikit 1.8.7-beta.15 → 1.8.7-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -3
- package/index.modern.js +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -51543,9 +51543,6 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
51543
51543
|
};
|
|
51544
51544
|
var sendAttachmentsAsSeparateMessage = getSendAttachmentsAsSeparateMessages();
|
|
51545
51545
|
dispatch(sendMessageAC(messageToSend, id, connectionStatus, connectionStatus, sendAttachmentsAsSeparateMessage));
|
|
51546
|
-
setViewOnce(false);
|
|
51547
|
-
setAttachments([]);
|
|
51548
|
-
handleCloseReply();
|
|
51549
51546
|
return Promise.resolve();
|
|
51550
51547
|
} catch (e) {
|
|
51551
51548
|
return Promise.reject(e);
|
|
@@ -51554,6 +51551,10 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
51554
51551
|
reader.onerror = function (e) {
|
|
51555
51552
|
log.info(' error on read file onError', e);
|
|
51556
51553
|
};
|
|
51554
|
+
setViewOnce(false);
|
|
51555
|
+
setAttachments([]);
|
|
51556
|
+
attachmentsUpdate = [];
|
|
51557
|
+
handleCloseReply();
|
|
51557
51558
|
reader.readAsBinaryString(recordedFile.file);
|
|
51558
51559
|
}
|
|
51559
51560
|
};
|
package/index.modern.js
CHANGED
|
@@ -51542,9 +51542,6 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
51542
51542
|
};
|
|
51543
51543
|
var sendAttachmentsAsSeparateMessage = getSendAttachmentsAsSeparateMessages();
|
|
51544
51544
|
dispatch(sendMessageAC(messageToSend, id, connectionStatus, connectionStatus, sendAttachmentsAsSeparateMessage));
|
|
51545
|
-
setViewOnce(false);
|
|
51546
|
-
setAttachments([]);
|
|
51547
|
-
handleCloseReply();
|
|
51548
51545
|
return Promise.resolve();
|
|
51549
51546
|
} catch (e) {
|
|
51550
51547
|
return Promise.reject(e);
|
|
@@ -51553,6 +51550,10 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
51553
51550
|
reader.onerror = function (e) {
|
|
51554
51551
|
log.info(' error on read file onError', e);
|
|
51555
51552
|
};
|
|
51553
|
+
setViewOnce(false);
|
|
51554
|
+
setAttachments([]);
|
|
51555
|
+
attachmentsUpdate = [];
|
|
51556
|
+
handleCloseReply();
|
|
51556
51557
|
reader.readAsBinaryString(recordedFile.file);
|
|
51557
51558
|
}
|
|
51558
51559
|
};
|