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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat",
3
- "version": "9.42.0",
3
+ "version": "9.42.1",
4
4
  "description": "JS SDK for the Stream Chat API",
5
5
  "homepage": "https://getstream.io/chat/",
6
6
  "author": {
@@ -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 ||