stream-chat 9.42.0 → 9.42.1
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/dist/cjs/index.browser.js +1 -4
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +1 -4
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +1 -4
- package/dist/esm/index.mjs.map +2 -2
- package/package.json +1 -1
- package/src/messageComposer/messageComposer.ts +0 -9
package/package.json
CHANGED
|
@@ -325,15 +325,6 @@ export class MessageComposer extends WithSubscriptions {
|
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
get hasSendableData() {
|
|
328
|
-
// If the offline mode is enabled, we allow sending a message if the composition is not empty.
|
|
329
|
-
if (this.client.offlineDb) {
|
|
330
|
-
return (
|
|
331
|
-
!this.textComposer.textIsEmpty ||
|
|
332
|
-
!!this.attachmentManager.attachments.length ||
|
|
333
|
-
!!this.pollId ||
|
|
334
|
-
!!this.locationComposer.validLocation
|
|
335
|
-
);
|
|
336
|
-
}
|
|
337
328
|
return !!(
|
|
338
329
|
(!this.attachmentManager.uploadsInProgressCount &&
|
|
339
330
|
(!this.textComposer.textIsEmpty ||
|