stream-chat-react-native-core 5.25.0-beta.5 → 5.25.0-beta.7

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.
Files changed (111) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +20 -15
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
  4. package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  5. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
  6. package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  7. package/lib/commonjs/components/Chat/Chat.js +10 -6
  8. package/lib/commonjs/components/Chat/Chat.js.map +1 -1
  9. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +4 -3
  10. package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  11. package/lib/commonjs/components/Message/Message.js +5 -2
  12. package/lib/commonjs/components/Message/Message.js.map +1 -1
  13. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +7 -3
  14. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  15. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +7 -1
  16. package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  17. package/lib/commonjs/components/MessageInput/MessageInput.js +5 -5
  18. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  19. package/lib/commonjs/components/MessageList/MessageList.js +32 -30
  20. package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
  21. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  22. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
  23. package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  24. package/lib/commonjs/i18n/en.json +1 -1
  25. package/lib/commonjs/i18n/es.json +57 -57
  26. package/lib/commonjs/i18n/fr.json +57 -57
  27. package/lib/commonjs/i18n/he.json +57 -57
  28. package/lib/commonjs/i18n/hi.json +57 -57
  29. package/lib/commonjs/i18n/it.json +57 -57
  30. package/lib/commonjs/i18n/ja.json +57 -57
  31. package/lib/commonjs/i18n/ko.json +57 -57
  32. package/lib/commonjs/i18n/nl.json +57 -57
  33. package/lib/commonjs/i18n/ru.json +54 -54
  34. package/lib/commonjs/i18n/tr.json +54 -54
  35. package/lib/commonjs/version.json +1 -1
  36. package/lib/module/components/Channel/Channel.js +20 -15
  37. package/lib/module/components/Channel/Channel.js.map +1 -1
  38. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js +3 -1
  39. package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
  40. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +22 -5
  41. package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
  42. package/lib/module/components/Chat/Chat.js +10 -6
  43. package/lib/module/components/Chat/Chat.js.map +1 -1
  44. package/lib/module/components/Chat/hooks/useSyncDatabase.js +4 -3
  45. package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
  46. package/lib/module/components/Message/Message.js +5 -2
  47. package/lib/module/components/Message/Message.js.map +1 -1
  48. package/lib/module/components/Message/MessageSimple/MessageContent.js +7 -3
  49. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  50. package/lib/module/components/Message/MessageSimple/MessageSimple.js +7 -1
  51. package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
  52. package/lib/module/components/MessageInput/MessageInput.js +5 -5
  53. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  54. package/lib/module/components/MessageList/MessageList.js +32 -30
  55. package/lib/module/components/MessageList/MessageList.js.map +1 -1
  56. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  57. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +3 -1
  58. package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
  59. package/lib/module/i18n/en.json +1 -1
  60. package/lib/module/i18n/es.json +57 -57
  61. package/lib/module/i18n/fr.json +57 -57
  62. package/lib/module/i18n/he.json +57 -57
  63. package/lib/module/i18n/hi.json +57 -57
  64. package/lib/module/i18n/it.json +57 -57
  65. package/lib/module/i18n/ja.json +57 -57
  66. package/lib/module/i18n/ko.json +57 -57
  67. package/lib/module/i18n/nl.json +57 -57
  68. package/lib/module/i18n/ru.json +54 -54
  69. package/lib/module/i18n/tr.json +54 -54
  70. package/lib/module/version.json +1 -1
  71. package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +62 -1
  72. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +2 -1
  73. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -1
  74. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +2 -2
  75. package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -1
  76. package/lib/typescript/i18n/en.json +1 -1
  77. package/lib/typescript/i18n/es.json +57 -57
  78. package/lib/typescript/i18n/fr.json +57 -57
  79. package/lib/typescript/i18n/he.json +57 -57
  80. package/lib/typescript/i18n/hi.json +57 -57
  81. package/lib/typescript/i18n/it.json +57 -57
  82. package/lib/typescript/i18n/ja.json +57 -57
  83. package/lib/typescript/i18n/ko.json +57 -57
  84. package/lib/typescript/i18n/nl.json +57 -57
  85. package/lib/typescript/i18n/ru.json +54 -54
  86. package/lib/typescript/i18n/tr.json +54 -54
  87. package/package.json +2 -2
  88. package/src/components/Channel/Channel.tsx +8 -2
  89. package/src/components/Channel/hooks/useCreateInputMessageInputContext.ts +11 -1
  90. package/src/components/Channel/hooks/useCreateOwnCapabilitiesContext.ts +24 -6
  91. package/src/components/Chat/Chat.tsx +5 -0
  92. package/src/components/Chat/hooks/useSyncDatabase.ts +4 -2
  93. package/src/components/Message/Message.tsx +6 -1
  94. package/src/components/Message/MessageSimple/MessageContent.tsx +5 -0
  95. package/src/components/Message/MessageSimple/MessageSimple.tsx +8 -2
  96. package/src/components/MessageInput/MessageInput.tsx +3 -7
  97. package/src/components/MessageList/MessageList.tsx +3 -1
  98. package/src/contexts/messageInputContext/MessageInputContext.tsx +1 -1
  99. package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +3 -0
  100. package/src/i18n/en.json +1 -1
  101. package/src/i18n/es.json +57 -57
  102. package/src/i18n/fr.json +57 -57
  103. package/src/i18n/he.json +57 -57
  104. package/src/i18n/hi.json +57 -57
  105. package/src/i18n/it.json +57 -57
  106. package/src/i18n/ja.json +57 -57
  107. package/src/i18n/ko.json +57 -57
  108. package/src/i18n/nl.json +57 -57
  109. package/src/i18n/ru.json +54 -54
  110. package/src/i18n/tr.json +54 -54
  111. package/src/version.json +1 -1
@@ -1,21 +1,21 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "Также отправить на канал",
7
- "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
2
+ "1 Reply": "1 Ответ",
3
+ "1 Thread Reply": "1 тема Ответить",
4
+ "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
+ "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
+ "Also send to channel": "",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
- "Block User": "Заблокировать пользователя",
10
- "Cancel": "Отмена",
11
- "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "Копировать сообщение",
14
- "Delete": "удалять",
15
- "Delete Message": "Удалить сообщение",
16
- "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
18
- "Edit Message": "Редактировать сообщение",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
+ "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "Соответствие эмодзи",
21
21
  "Empty message...": "",
@@ -24,56 +24,56 @@
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
26
  "File type not supported": "",
27
- "Flag": "Пометить",
28
- "Flag Message": "Пометить сообщение",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
27
+ "Flag": "",
28
+ "Flag Message": "",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "Мгновенные Команды",
32
32
  "Let's start chatting!": "",
33
- "Links are disabled": "Ссылки отключены",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
37
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Достигнут предел максимального размера файла для загрузки. Загрузите файл размером менее {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} МБ.",
38
- "Message Reactions": "Сообщения Реакции",
33
+ "Links are disabled": "",
34
+ "Loading channels...": "Загружаю каналы...",
35
+ "Loading messages...": "Загружаю сообщения...",
36
+ "Loading...": "Загружаю...",
37
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
+ "Message Reactions": "",
39
39
  "Message deleted": "",
40
- "Message flagged": "Сообщение отмечено",
41
- "Mute User": "Отключить пользователя",
42
- "Not supported": "",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
+ "Not supported": "не поддерживается",
43
43
  "Nothing yet...": "",
44
- "Ok": "",
45
- "Only visible to you": "",
46
- "Open Settings": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Видно только вам",
46
+ "Open Settings": "Открыть настройки",
47
47
  "Photo": "Фото",
48
- "Photos and Videos": "",
49
- "Pin to Conversation": "Закрепить к беседе",
48
+ "Photos and Videos": "Фото и видео",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
+ "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
52
+ "Please select a channel first": "",
53
53
  "Reconnecting...": "",
54
- "Reply": "Ответить",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Отправить",
57
- "Search GIFs": "",
58
- "Select More Photos": "",
56
+ "Resend": "",
57
+ "Search GIFs": "Поиск GIF",
58
+ "Select More Photos": "Выбрать больше фотографий",
59
59
  "Send Anyway": "",
60
- "Send a message": "",
61
- "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
62
- "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
64
- "Thread Reply": "Тема Ответить",
65
- "Unblock User": "Разблокировать пользователя",
66
- "Unknown User": "",
67
- "Unmute User": "Включить микрофон",
68
- "Unpin from Conversation": "Открепить от беседы",
69
- "Unread Messages": "Непрочитанные Сообщения",
60
+ "Send a message": "Отправить сообщение",
61
+ "Sending links is not allowed in this conversation": "",
62
+ "Slow mode ON": "Медленный режим включен",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
+ "Unknown User": "Неизвестный пользователь",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
+ "Unread Messages": "",
70
70
  "Video": "видео",
71
71
  "You": "",
72
- "You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "",
72
+ "You can't send messages in this channel": "",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
76
+ "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
77
+ "{{ user }} is typing": "{{ user }} пишет",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,21 +1,21 @@
1
1
  {
2
- "1 Reply": "",
3
- "1 Thread Reply": "",
4
- "Allow access to your Gallery": "",
5
- "Allow camera access in device settings": "",
6
- "Also send to channel": "Kanala da gönder",
7
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
2
+ "1 Reply": "1 Cevap",
3
+ "1 Thread Reply": "1 Konu Yanıtı",
4
+ "Allow access to your Gallery": "Galerinize erişime izin verin",
5
+ "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
+ "Also send to channel": "",
7
+ "Are you sure you want to permanently delete this message?": "",
8
8
  "Are you sure?": "",
9
- "Block User": "Kullanıcıyı engelle",
10
- "Cancel": "İptal",
11
- "Cannot Flag Message": "Raporlama Başarısız",
9
+ "Block User": "",
10
+ "Cancel": "",
11
+ "Cannot Flag Message": "",
12
12
  "Consider how your comment might make others feel and be sure to follow our Community Guidelines": "",
13
- "Copy Message": "Mesajı Kopyala",
14
- "Delete": "Sil",
15
- "Delete Message": "Mesajı Sil",
16
- "Device camera is used to take photos or videos.": "",
17
- "Do you want to send a copy of this message to a moderator for further investigation?": "Detaylı inceleme için bu mesajın kopyasını moderatöre göndermek istiyor musunuz?",
18
- "Edit Message": "Mesajı Düzenle",
13
+ "Copy Message": "",
14
+ "Delete": "",
15
+ "Delete Message": "",
16
+ "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
17
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
18
+ "Edit Message": "",
19
19
  "Editing Message": "",
20
20
  "Emoji matching": "Emoji eşleştirme",
21
21
  "Empty message...": "",
@@ -24,56 +24,56 @@
24
24
  "Error loading messages for this channel...": "",
25
25
  "Error while loading, please reload/refresh": "",
26
26
  "File type not supported": "",
27
- "Flag": "Raporla",
28
- "Flag Message": "Mesajı Raporla",
29
- "Flag action failed either due to a network issue or the message is already flagged": "Mesajın daha önce raporlanmış olması veya bir ağ bağlantısı sorunu nedeniyle raporlama işlemi başarısız oldu.",
27
+ "Flag": "",
28
+ "Flag Message": "",
29
+ "Flag action failed either due to a network issue or the message is already flagged": "",
30
30
  "How about sending your first message to a friend?": "",
31
31
  "Instant Commands": "Anlık Komutlar",
32
32
  "Let's start chatting!": "",
33
- "Links are disabled": "Bağlantılar devre dışı",
34
- "Loading channels...": "",
35
- "Loading messages...": "",
36
- "Loading...": "",
37
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maksimum dosya boyutu yükleme sınırına ulaşıldı. Lütfen {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB'ın altında bir dosya yükleyin.",
38
- "Message Reactions": "Mesaj Tepkileri",
33
+ "Links are disabled": "",
34
+ "Loading channels...": "Kanallar yükleniyor...",
35
+ "Loading messages...": "Mesajlar yükleniyor...",
36
+ "Loading...": "Yükleniyor...",
37
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
38
+ "Message Reactions": "",
39
39
  "Message deleted": "",
40
- "Message flagged": "Mesaj işaretlendi",
41
- "Mute User": "Kullanıcıyı sessize al",
42
- "Not supported": "",
40
+ "Message flagged": "",
41
+ "Mute User": "",
42
+ "Not supported": "Desteklenmiyor",
43
43
  "Nothing yet...": "",
44
- "Ok": "Tamam",
45
- "Only visible to you": "",
46
- "Open Settings": "",
44
+ "Ok": "",
45
+ "Only visible to you": "Sadece siz görebilirsiniz",
46
+ "Open Settings": "Ayarları aç",
47
47
  "Photo": "Fotoğraf",
48
- "Photos and Videos": "",
49
- "Pin to Conversation": "Konuşmaya sabitle",
48
+ "Photos and Videos": "Fotoğraflar ve Videolar",
49
+ "Pin to Conversation": "",
50
50
  "Pinned by": "",
51
- "Please enable access to your photos and videos so you can share them.": "",
52
- "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
+ "Please enable access to your photos and videos so you can share them.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
52
+ "Please select a channel first": "",
53
53
  "Reconnecting...": "",
54
- "Reply": "Yanıtla",
54
+ "Reply": "",
55
55
  "Reply to Message": "",
56
- "Resend": "Yeniden gönder",
57
- "Search GIFs": "",
58
- "Select More Photos": "",
56
+ "Resend": "",
57
+ "Search GIFs": "GIF Ara",
58
+ "Select More Photos": "Daha Fazla Fotoğraf Seçin",
59
59
  "Send Anyway": "",
60
- "Send a message": "",
61
- "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
62
- "Slow mode ON": "",
63
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
64
- "Thread Reply": "Konu Yanıtı",
65
- "Unblock User": "Kullanıcının engelini kaldır",
66
- "Unknown User": "",
67
- "Unmute User": "Kullanıcının sesini aç",
68
- "Unpin from Conversation": "Sabitlemeyi kaldır",
69
- "Unread Messages": "Okunmamış Mesajlar",
60
+ "Send a message": "Mesaj gönder",
61
+ "Sending links is not allowed in this conversation": "",
62
+ "Slow mode ON": "Yavaş Mod Açık",
63
+ "The message has been reported to a moderator.": "",
64
+ "Thread Reply": "",
65
+ "Unblock User": "",
66
+ "Unknown User": "Bilinmeyen kullanıcı",
67
+ "Unmute User": "",
68
+ "Unpin from Conversation": "",
69
+ "Unread Messages": "",
70
70
  "Video": "Video",
71
71
  "You": "",
72
- "You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
73
- "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
74
- "{{ index }} of {{ photoLength }}": "",
75
- "{{ replyCount }} Replies": "",
76
- "{{ replyCount }} Thread Replies": "",
77
- "{{ user }} is typing": "",
72
+ "You can't send messages in this channel": "",
73
+ "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
74
+ "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
75
+ "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
76
+ "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
77
+ "{{ user }} is typing": "{{ user }} yazıyor",
78
78
  "🏙 Attachment...": ""
79
79
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "5.25.0-beta.5"
2
+ "version": "5.25.0-beta.7"
3
3
  }
@@ -146,7 +146,7 @@ var debounceOptions = {
146
146
  trailing: true
147
147
  };
148
148
  var ChannelWithContext = function ChannelWithContext(props) {
149
- var _client$user, _channel$data, _ref28, _ref29;
149
+ var _client$user, _channel$data2, _ref28, _ref29;
150
150
  var additionalKeyboardAvoidingViewProps = props.additionalKeyboardAvoidingViewProps,
151
151
  additionalTextInputProps = props.additionalTextInputProps,
152
152
  additionalTouchableProps = props.additionalTouchableProps,
@@ -2084,13 +2084,17 @@ var ChannelWithContext = function ChannelWithContext(props) {
2084
2084
  return _ref27.apply(this, arguments);
2085
2085
  };
2086
2086
  }();
2087
+ var disabledValue = (0, _react.useMemo)(function () {
2088
+ var _channel$data;
2089
+ return !!(channel != null && (_channel$data = channel.data) != null && _channel$data.frozen) && disableIfFrozenChannel;
2090
+ }, [(_channel$data2 = channel.data) == null ? void 0 : _channel$data2.frozen, disableIfFrozenChannel]);
2087
2091
  var ownCapabilitiesContext = (0, _useCreateOwnCapabilitiesContext.useCreateOwnCapabilitiesContext)({
2088
2092
  channel: channel,
2089
2093
  overrideCapabilities: overrideOwnCapabilities
2090
2094
  });
2091
2095
  var channelContext = (0, _useCreateChannelContext.useCreateChannelContext)({
2092
2096
  channel: channel,
2093
- disabled: !!(channel != null && (_channel$data = channel.data) != null && _channel$data.frozen) && disableIfFrozenChannel,
2097
+ disabled: disabledValue,
2094
2098
  EmptyStateIndicator: EmptyStateIndicator,
2095
2099
  enableMessageGroupingByUser: enableMessageGroupingByUser,
2096
2100
  enforceUniqueReaction: enforceUniqueReaction,
@@ -2136,6 +2140,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2136
2140
  CommandsButton: CommandsButton,
2137
2141
  compressImageQuality: compressImageQuality,
2138
2142
  CooldownTimer: CooldownTimer,
2143
+ disabled: disabledValue,
2139
2144
  doDocUploadRequest: doDocUploadRequest,
2140
2145
  doImageUploadRequest: doImageUploadRequest,
2141
2146
  editing: editing,
@@ -2296,7 +2301,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2296
2301
  __self: _this,
2297
2302
  __source: {
2298
2303
  fileName: _jsxFileName,
2299
- lineNumber: 2312,
2304
+ lineNumber: 2318,
2300
2305
  columnNumber: 12
2301
2306
  }
2302
2307
  });
@@ -2310,7 +2315,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2310
2315
  __self: _this,
2311
2316
  __source: {
2312
2317
  fileName: _jsxFileName,
2313
- lineNumber: 2317,
2318
+ lineNumber: 2323,
2314
2319
  columnNumber: 7
2315
2320
  }
2316
2321
  }, t('Please select a channel first'));
@@ -2323,7 +2328,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2323
2328
  __self: _this,
2324
2329
  __source: {
2325
2330
  fileName: _jsxFileName,
2326
- lineNumber: 2324,
2331
+ lineNumber: 2330,
2327
2332
  columnNumber: 5
2328
2333
  }
2329
2334
  }), _react["default"].createElement(_ChannelContext.ChannelProvider, {
@@ -2331,7 +2336,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2331
2336
  __self: _this,
2332
2337
  __source: {
2333
2338
  fileName: _jsxFileName,
2334
- lineNumber: 2330,
2339
+ lineNumber: 2336,
2335
2340
  columnNumber: 7
2336
2341
  }
2337
2342
  }, _react["default"].createElement(_OwnCapabilitiesContext.OwnCapabilitiesProvider, {
@@ -2339,7 +2344,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2339
2344
  __self: _this,
2340
2345
  __source: {
2341
2346
  fileName: _jsxFileName,
2342
- lineNumber: 2331,
2347
+ lineNumber: 2337,
2343
2348
  columnNumber: 9
2344
2349
  }
2345
2350
  }, _react["default"].createElement(_TypingContext.TypingProvider, {
@@ -2347,7 +2352,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2347
2352
  __self: _this,
2348
2353
  __source: {
2349
2354
  fileName: _jsxFileName,
2350
- lineNumber: 2332,
2355
+ lineNumber: 2338,
2351
2356
  columnNumber: 11
2352
2357
  }
2353
2358
  }, _react["default"].createElement(_PaginatedMessageListContext.PaginatedMessageListProvider, {
@@ -2355,7 +2360,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2355
2360
  __self: _this,
2356
2361
  __source: {
2357
2362
  fileName: _jsxFileName,
2358
- lineNumber: 2333,
2363
+ lineNumber: 2339,
2359
2364
  columnNumber: 13
2360
2365
  }
2361
2366
  }, _react["default"].createElement(_MessagesContext.MessagesProvider, {
@@ -2363,7 +2368,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2363
2368
  __self: _this,
2364
2369
  __source: {
2365
2370
  fileName: _jsxFileName,
2366
- lineNumber: 2334,
2371
+ lineNumber: 2340,
2367
2372
  columnNumber: 15
2368
2373
  }
2369
2374
  }, _react["default"].createElement(_ThreadContext.ThreadProvider, {
@@ -2371,7 +2376,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2371
2376
  __self: _this,
2372
2377
  __source: {
2373
2378
  fileName: _jsxFileName,
2374
- lineNumber: 2335,
2379
+ lineNumber: 2341,
2375
2380
  columnNumber: 17
2376
2381
  }
2377
2382
  }, _react["default"].createElement(_SuggestionsContext.SuggestionsProvider, {
@@ -2379,7 +2384,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2379
2384
  __self: _this,
2380
2385
  __source: {
2381
2386
  fileName: _jsxFileName,
2382
- lineNumber: 2336,
2387
+ lineNumber: 2342,
2383
2388
  columnNumber: 19
2384
2389
  }
2385
2390
  }, _react["default"].createElement(_MessageInputContext.MessageInputProvider, {
@@ -2387,7 +2392,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2387
2392
  __self: _this,
2388
2393
  __source: {
2389
2394
  fileName: _jsxFileName,
2390
- lineNumber: 2337,
2395
+ lineNumber: 2343,
2391
2396
  columnNumber: 21
2392
2397
  }
2393
2398
  }, _react["default"].createElement(_reactNative.View, {
@@ -2397,7 +2402,7 @@ var ChannelWithContext = function ChannelWithContext(props) {
2397
2402
  __self: _this,
2398
2403
  __source: {
2399
2404
  fileName: _jsxFileName,
2400
- lineNumber: 2338,
2405
+ lineNumber: 2344,
2401
2406
  columnNumber: 23
2402
2407
  }
2403
2408
  }, children))))))))));
@@ -2448,7 +2453,7 @@ var Channel = function Channel(props) {
2448
2453
  __self: _this,
2449
2454
  __source: {
2450
2455
  fileName: _jsxFileName,
2451
- lineNumber: 2395,
2456
+ lineNumber: 2401,
2452
2457
  columnNumber: 5
2453
2458
  }
2454
2459
  }));