sceyt-chat-react-uikit 1.8.9-beta.5 → 1.8.9-beta.6
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 +1 -1
- package/index.modern.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -54066,7 +54066,7 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
54066
54066
|
viewOnce: false
|
|
54067
54067
|
});
|
|
54068
54068
|
} else if (draftMessage) {
|
|
54069
|
-
if (restoredDraftChannelIdRef.current !== activeChannel.id) {
|
|
54069
|
+
if (restoredDraftChannelIdRef.current && restoredDraftChannelIdRef.current !== activeChannel.id) {
|
|
54070
54070
|
return;
|
|
54071
54071
|
}
|
|
54072
54072
|
removeDraftMessageFromMap(activeChannel.id);
|
package/index.modern.js
CHANGED
|
@@ -54046,7 +54046,7 @@ var SendMessageInput = function SendMessageInput(_ref3) {
|
|
|
54046
54046
|
viewOnce: false
|
|
54047
54047
|
});
|
|
54048
54048
|
} else if (draftMessage) {
|
|
54049
|
-
if (restoredDraftChannelIdRef.current !== activeChannel.id) {
|
|
54049
|
+
if (restoredDraftChannelIdRef.current && restoredDraftChannelIdRef.current !== activeChannel.id) {
|
|
54050
54050
|
return;
|
|
54051
54051
|
}
|
|
54052
54052
|
removeDraftMessageFromMap(activeChannel.id);
|