stream-chat-react-native-core 5.24.0-beta.2 → 5.24.0-beta.3

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 (54) hide show
  1. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +52 -18
  2. package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  3. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +4 -1
  4. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  5. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +37 -35
  6. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  7. package/lib/commonjs/i18n/en.json +1 -1
  8. package/lib/commonjs/i18n/fr.json +43 -43
  9. package/lib/commonjs/i18n/hi.json +43 -43
  10. package/lib/commonjs/i18n/it.json +43 -43
  11. package/lib/commonjs/i18n/nl.json +43 -43
  12. package/lib/commonjs/i18n/ru.json +43 -43
  13. package/lib/commonjs/i18n/tr.json +43 -43
  14. package/lib/commonjs/utils/utils.js +1 -3
  15. package/lib/commonjs/utils/utils.js.map +1 -1
  16. package/lib/commonjs/version.json +1 -1
  17. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +52 -18
  18. package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
  19. package/lib/module/components/ChannelPreview/ChannelPreview.js +4 -1
  20. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  21. package/lib/module/contexts/messageInputContext/MessageInputContext.js +37 -35
  22. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  23. package/lib/module/i18n/en.json +1 -1
  24. package/lib/module/i18n/fr.json +43 -43
  25. package/lib/module/i18n/hi.json +43 -43
  26. package/lib/module/i18n/it.json +43 -43
  27. package/lib/module/i18n/nl.json +43 -43
  28. package/lib/module/i18n/ru.json +43 -43
  29. package/lib/module/i18n/tr.json +43 -43
  30. package/lib/module/utils/utils.js +1 -3
  31. package/lib/module/utils/utils.js.map +1 -1
  32. package/lib/module/version.json +1 -1
  33. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +1 -1
  34. package/lib/typescript/i18n/en.json +1 -1
  35. package/lib/typescript/i18n/fr.json +43 -43
  36. package/lib/typescript/i18n/hi.json +43 -43
  37. package/lib/typescript/i18n/it.json +43 -43
  38. package/lib/typescript/i18n/nl.json +43 -43
  39. package/lib/typescript/i18n/ru.json +43 -43
  40. package/lib/typescript/i18n/tr.json +43 -43
  41. package/lib/typescript/utils/utils.d.ts +0 -1
  42. package/package.json +1 -1
  43. package/src/components/ChannelList/hooks/usePaginatedChannels.ts +6 -3
  44. package/src/components/ChannelPreview/ChannelPreview.tsx +5 -5
  45. package/src/contexts/messageInputContext/MessageInputContext.tsx +3 -2
  46. package/src/i18n/en.json +1 -1
  47. package/src/i18n/fr.json +43 -43
  48. package/src/i18n/hi.json +43 -43
  49. package/src/i18n/it.json +43 -43
  50. package/src/i18n/nl.json +43 -43
  51. package/src/i18n/ru.json +43 -43
  52. package/src/i18n/tr.json +43 -43
  53. package/src/utils/utils.ts +0 -2
  54. package/src/version.json +1 -1
@@ -1,76 +1,76 @@
1
1
  {
2
2
  "1 Reply": "1 Risposta",
3
- "1 Thread Reply": "1 Risposta alla Discussione",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Consenti l'accesso alla tua galleria",
5
5
  "Allow camera access in device settings": "Consenti l'accesso alla fotocamera nelle impostazioni del dispositivo",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Sei sicuro di voler eliminare definitivamente questo messaggio?",
8
- "Block User": "Blocca Utente",
9
- "Cancel": "Annulla",
10
- "Cannot Flag Message": "Impossibile Segnalare Messaggio",
11
- "Copy Message": "Copia Messaggio",
12
- "Delete": "Elimina",
13
- "Delete Message": "Cancella il Messaggio",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
14
  "Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Vuoi inviare una copia di questo messaggio a un moderatore per ulteriori indagini?",
16
- "Edit Message": "Modifica Messaggio",
17
- "Editing Message": "Modificando il Messaggio",
18
- "Emoji matching": "Abbinamento emoji",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "Contrassegna",
26
- "Flag Message": "Contrassegna Messaggio",
27
- "Flag action failed either due to a network issue or the message is already flagged": "L'azione di segnalazione non è riuscita a causa di un problema di rete o il messaggio è già segnalato.",
24
+ "File type not supported": "Tipo di file non supportato",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Comandi Istantanei",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "I link sono disabilitati",
32
- "Loading channels...": "Caricamento canali in corso...",
33
- "Loading messages...": "Caricamento messaggi...",
34
- "Loading...": "Caricamento...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "È stato raggiunto il limite massimo di caricamento delle dimensioni del file. Carica un file inferiore a {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "Reazioni ai Messaggi",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Messaggio contrassegnato",
39
- "Mute User": "Utente Muto",
40
- "Not supported": "",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
+ "Not supported": "non supportato",
41
41
  "Nothing yet...": "",
42
- "Ok": "Ok",
43
- "Only visible to you": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Visibile solo a te",
44
44
  "Open Settings": "Apri Impostazioni",
45
- "Photo": "Foto",
45
+ "Photo": "",
46
46
  "Photos and Videos": "Foto e Video",
47
- "Pin to Conversation": "Metti in evidenza",
48
- "Pinned by": "",
47
+ "Pin to Conversation": "",
48
+ "Pinned by": "Fissato da",
49
49
  "Please enable access to your photos and videos so you can share them.": "Abilita l'accesso alle tue foto e ai tuoi video in modo da poterli condividere.",
50
50
  "Please select a channel first": "Seleziona un canale",
51
51
  "Reconnecting...": "",
52
- "Reply": "Rispondi",
53
- "Reply to Message": "",
54
- "Resend": "Invia di nuovo",
55
- "Search GIFs": "",
52
+ "Reply": "",
53
+ "Reply to Message": "Rispondi al messaggio",
54
+ "Resend": "",
55
+ "Search GIFs": "Cerca GIF",
56
56
  "Select More Photos": "Seleziona Altre foto",
57
- "Send a message": "",
57
+ "Send a message": "Mandare un messaggio",
58
58
  "Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "Il messaggio è stato segnalato a un moderatore.",
61
- "Thread Reply": "Rispondi alla Discussione",
62
- "Unblock User": "Sblocca utente",
59
+ "Slow mode ON": "Slowmode attiva",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
63
  "Unknown User": "Utente sconosciuto",
64
- "Unmute User": "Riattiva utente",
65
- "Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "Video",
67
+ "Video": "",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Risposte",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,76 +1,76 @@
1
1
  {
2
2
  "1 Reply": "1 Antwoord",
3
- "1 Thread Reply": "1 thread antwoord",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Geef toegang tot uw galerij",
5
5
  "Allow camera access in device settings": "Sta cameratoegang toe in de apparaatinstellingen",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
8
- "Block User": "Blokkeer Gebruiker",
9
- "Cancel": "Annuleer",
10
- "Cannot Flag Message": "Kan bericht niet rapporteren",
11
- "Copy Message": "Bericht kopiëren",
12
- "Delete": "Verwijderen",
13
- "Delete Message": "Verwijder bericht",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
14
  "Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Wil je een kopie van dit bericht naar een moderator sturen voor verder onderzoek?",
16
- "Edit Message": "Pas bericht aan",
17
- "Editing Message": "Bericht aanpassen",
18
- "Emoji matching": "Emoji-overeenkomsten",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "Markeer",
26
- "Flag Message": "Markeer bericht",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Rapporteren mislukt door een netwerk fout of het berich is al gerapporteerd",
24
+ "File type not supported": "Bestandstype niet ondersteund",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Directe Opdrachten",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Het versturen van links staat uit",
32
- "Loading channels...": "Kanalen aan het laden...",
33
- "Loading messages...": "Berichten aan het laden...",
34
- "Loading...": "Aan het laden...",
35
- "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "Maximale uploadlimiet voor bestandsgrootte bereikt. Upload een bestand van minder dan {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.",
36
- "Message Reactions": "Bericht Reacties",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Bericht gemarkeerd",
39
- "Mute User": "Gebruiker dempen",
40
- "Not supported": "",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
+ "Not supported": "niet ondersteund",
41
41
  "Nothing yet...": "",
42
- "Ok": "Oké",
43
- "Only visible to you": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Alleen zichtbaar voor jou",
44
44
  "Open Settings": "Open instellingen",
45
- "Photo": "Foto",
45
+ "Photo": "",
46
46
  "Photos and Videos": "Foto's en video's",
47
- "Pin to Conversation": "Vastmaken aan gesprek",
48
- "Pinned by": "",
47
+ "Pin to Conversation": "",
48
+ "Pinned by": "Vastgemaakt door",
49
49
  "Please enable access to your photos and videos so you can share them.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
50
50
  "Please select a channel first": "Selecteer eerst een kanaal",
51
51
  "Reconnecting...": "",
52
- "Reply": "Antwoord",
53
- "Reply to Message": "",
54
- "Resend": "Opnieuw versturen",
55
- "Search GIFs": "",
52
+ "Reply": "",
53
+ "Reply to Message": "Beantwoord bericht",
54
+ "Resend": "",
55
+ "Search GIFs": "Zoek GIF's",
56
56
  "Select More Photos": "Selecteer Meer foto's",
57
- "Send a message": "",
57
+ "Send a message": "Stuur een bericht",
58
58
  "Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
61
- "Thread Reply": "Discussie beantwoorden",
62
- "Unblock User": "Deblokkeer gebruiker",
59
+ "Slow mode ON": "Langzame modus aan",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
63
  "Unknown User": "Onbekende gebruiker",
64
- "Unmute User": "Dempen van gebruiker opheffen",
65
- "Unpin from Conversation": "Losmaken van gesprek",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "Video",
67
+ "Video": "",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,76 +1,76 @@
1
1
  {
2
2
  "1 Reply": "1 Ответ",
3
- "1 Thread Reply": "1 тема Ответить",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Разрешить доступ к вашей галерее",
5
5
  "Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
8
- "Block User": "Заблокировать пользователя",
9
- "Cancel": "Отмена",
10
- "Cannot Flag Message": "Невозможно пожаловаться на сообщение",
11
- "Copy Message": "Копировать сообщение",
12
- "Delete": "удалять",
13
- "Delete Message": "Удалить сообщение",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
14
  "Device camera is used to take photos or videos.": "Камера устройства используется для съемки фотографий или видео.",
15
- "Do you want to send a copy of this message to a moderator for further investigation?": "Вы хотите отправить копию этого сообщения модератору для дальнейшего изучения?",
16
- "Edit Message": "Редактировать сообщение",
17
- "Editing Message": "Редактирование сообщения",
18
- "Emoji matching": "Соответствие эмодзи",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "Пометить",
26
- "Flag Message": "Пометить сообщение",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
24
+ "File type not supported": "Тип файла не поддерживается",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Мгновенные Команды",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Ссылки отключены",
32
- "Loading channels...": "Загружаю каналы...",
33
- "Loading messages...": "Загружаю сообщения...",
34
- "Loading...": "Загружаю...",
35
- "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}} МБ.",
36
- "Message Reactions": "Сообщения Реакции",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Сообщение отмечено",
39
- "Mute User": "Отключить пользователя",
40
- "Not supported": "",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
+ "Not supported": "не поддерживается",
41
41
  "Nothing yet...": "",
42
- "Ok": "",
43
- "Only visible to you": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Видно только вам",
44
44
  "Open Settings": "Открыть настройки",
45
- "Photo": "Фото",
45
+ "Photo": "",
46
46
  "Photos and Videos": "Фото и видео",
47
- "Pin to Conversation": "Закрепить к беседе",
48
- "Pinned by": "",
47
+ "Pin to Conversation": "",
48
+ "Pinned by": "Закреплено пользователем",
49
49
  "Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
50
50
  "Please select a channel first": "Пожалуйста, сначала выберите канал",
51
51
  "Reconnecting...": "",
52
- "Reply": "Ответить",
53
- "Reply to Message": "",
54
- "Resend": "Отправить",
55
- "Search GIFs": "",
52
+ "Reply": "",
53
+ "Reply to Message": "Ответить на сообщение",
54
+ "Resend": "",
55
+ "Search GIFs": "Поиск GIF",
56
56
  "Select More Photos": "Выбрать больше фотографий",
57
- "Send a message": "",
57
+ "Send a message": "Отправить сообщение",
58
58
  "Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "Сообщение отправлено модератору.",
61
- "Thread Reply": "Тема Ответить",
62
- "Unblock User": "Разблокировать пользователя",
59
+ "Slow mode ON": "Медленный режим включен",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
63
  "Unknown User": "Неизвестный пользователь",
64
- "Unmute User": "Включить микрофон",
65
- "Unpin from Conversation": "Открепить от беседы",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "видео",
67
+ "Video": "",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Ответов",
73
- "{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -1,76 +1,76 @@
1
1
  {
2
2
  "1 Reply": "1 Cevap",
3
- "1 Thread Reply": "1 Konu Yanıtı",
3
+ "1 Thread Reply": "",
4
4
  "Allow access to your Gallery": "Galerinize erişime izin verin",
5
5
  "Allow camera access in device settings": "Cihaz ayarlarında kamera erişimine izin ver",
6
6
  "Also send to channel": "",
7
- "Are you sure you want to permanently delete this message?": "Bu mesajı kalıcı olarak silmek istediğinizden emin misiniz?",
8
- "Block User": "Kullanıcıyı engelle",
9
- "Cancel": "İptal",
10
- "Cannot Flag Message": "Raporlama Başarısız",
11
- "Copy Message": "Mesajı Kopyala",
12
- "Delete": "Sil",
13
- "Delete Message": "Mesajı Sil",
7
+ "Are you sure you want to permanently delete this message?": "",
8
+ "Block User": "",
9
+ "Cancel": "",
10
+ "Cannot Flag Message": "",
11
+ "Copy Message": "",
12
+ "Delete": "",
13
+ "Delete Message": "",
14
14
  "Device camera is used to take photos or videos.": "Cihaz kamerası fotoğraf veya video çekmek için kullanılır.",
15
- "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?",
16
- "Edit Message": "Mesajı Düzenle",
17
- "Editing Message": "Mesaj Düzenleniyor",
18
- "Emoji matching": "Emoji eşleştirme",
15
+ "Do you want to send a copy of this message to a moderator for further investigation?": "",
16
+ "Edit Message": "",
17
+ "Editing Message": "",
18
+ "Emoji matching": "",
19
19
  "Empty message...": "",
20
20
  "Error loading": "",
21
21
  "Error loading channel list...": "",
22
22
  "Error loading messages for this channel...": "",
23
23
  "Error while loading, please reload/refresh": "",
24
- "File type not supported": "",
25
- "Flag": "Raporla",
26
- "Flag Message": "Mesajı Raporla",
27
- "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.",
24
+ "File type not supported": "Dosya türü desteklenmiyor",
25
+ "Flag": "",
26
+ "Flag Message": "",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "",
28
28
  "How about sending your first message to a friend?": "",
29
- "Instant Commands": "Anlık Komutlar",
29
+ "Instant Commands": "",
30
30
  "Let's start chatting!": "",
31
31
  "Links are disabled": "Bağlantılar devre dışı",
32
- "Loading channels...": "Kanallar yükleniyor...",
33
- "Loading messages...": "Mesajlar yükleniyor...",
34
- "Loading...": "Yükleniyor...",
35
- "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.",
36
- "Message Reactions": "Mesaj Tepkileri",
32
+ "Loading channels...": "",
33
+ "Loading messages...": "",
34
+ "Loading...": "",
35
+ "Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
36
+ "Message Reactions": "",
37
37
  "Message deleted": "",
38
- "Message flagged": "Mesaj işaretlendi",
39
- "Mute User": "Kullanıcıyı sessize al",
40
- "Not supported": "",
38
+ "Message flagged": "",
39
+ "Mute User": "",
40
+ "Not supported": "Desteklenmiyor",
41
41
  "Nothing yet...": "",
42
- "Ok": "Tamam",
43
- "Only visible to you": "",
42
+ "Ok": "",
43
+ "Only visible to you": "Sadece siz görebilirsiniz",
44
44
  "Open Settings": "Ayarları aç",
45
- "Photo": "Fotoğraf",
45
+ "Photo": "",
46
46
  "Photos and Videos": "Fotoğraflar ve Videolar",
47
- "Pin to Conversation": "Konuşmaya sabitle",
48
- "Pinned by": "",
47
+ "Pin to Conversation": "",
48
+ "Pinned by": "Tarafından sabitlendi",
49
49
  "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.",
50
50
  "Please select a channel first": "Lütfen önce bir kanal seçiniz",
51
51
  "Reconnecting...": "",
52
- "Reply": "Yanıtla",
53
- "Reply to Message": "",
54
- "Resend": "Yeniden gönder",
55
- "Search GIFs": "",
52
+ "Reply": "",
53
+ "Reply to Message": "Mesajı Yanıtla",
54
+ "Resend": "",
55
+ "Search GIFs": "GIF Ara",
56
56
  "Select More Photos": "Daha Fazla Fotoğraf Seçin",
57
- "Send a message": "",
57
+ "Send a message": "Mesaj gönder",
58
58
  "Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
59
- "Slow mode ON": "",
60
- "The message has been reported to a moderator.": "Mesaj moderatöre bildirildi.",
61
- "Thread Reply": "Konu Yanıtı",
62
- "Unblock User": "Kullanıcının engelini kaldır",
59
+ "Slow mode ON": "Yavaş Mod Açık",
60
+ "The message has been reported to a moderator.": "",
61
+ "Thread Reply": "",
62
+ "Unblock User": "",
63
63
  "Unknown User": "Bilinmeyen kullanıcı",
64
- "Unmute User": "Kullanıcının sesini aç",
65
- "Unpin from Conversation": "Sabitlemeyi kaldır",
64
+ "Unmute User": "",
65
+ "Unpin from Conversation": "",
66
66
  "Unread Messages": "",
67
- "Video": "Video",
67
+ "Video": "",
68
68
  "You": "",
69
69
  "You can't send messages in this channel": "",
70
70
  "{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
71
71
  "{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
72
72
  "{{ replyCount }} Replies": "{{ replyCount }} Cevap",
73
- "{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
73
+ "{{ replyCount }} Thread Replies": "",
74
74
  "{{ user }} is typing": "",
75
75
  "🏙 Attachment...": ""
76
76
  }
@@ -110,7 +110,6 @@ export declare const getUrlWithoutParams: (url?: string | undefined) => string |
110
110
  export declare const isLocalUrl: (url: string) => boolean;
111
111
  export declare const generateRandomId: (a?: string) => string;
112
112
  export declare const hasOnlyEmojis: (text: string) => boolean;
113
- export declare const urlRegex: RegExp;
114
113
  /**
115
114
  * Reduces a list of messages to strings that are used in useEffect & useMemo
116
115
  * @param {messages} messages - the array of messages to be compared
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-chat-react-native-core",
3
3
  "description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4
- "version": "5.24.0-beta.2",
4
+ "version": "5.24.0-beta.3",
5
5
  "author": {
6
6
  "company": "Stream.io Inc",
7
7
  "name": "Stream.io Inc"
@@ -168,7 +168,9 @@ export const usePaginatedChannels = <
168
168
  await queryChannels('refresh');
169
169
  };
170
170
 
171
- const reloadList = () => queryChannels('reload');
171
+ const reloadList = async () => {
172
+ await queryChannels('reload');
173
+ };
172
174
 
173
175
  /**
174
176
  * Equality check using stringified filters/sort ensure that we don't make un-necessary queryChannels api calls
@@ -219,10 +221,11 @@ export const usePaginatedChannels = <
219
221
  if (enableOfflineSupport) {
220
222
  // Any time DB is synced, we need to update the UI with local DB channels first,
221
223
  // and then call queryChannels to ensure any new channels are added to UI.
222
- listener = DBSyncManager.onSyncStatusChange((syncStatus) => {
224
+ listener = DBSyncManager.onSyncStatusChange(async (syncStatus) => {
223
225
  if (syncStatus) {
224
226
  loadOfflineChannels();
225
- reloadList();
227
+ await reloadList();
228
+ setForceUpdate((u) => u + 1);
226
229
  }
227
230
  });
228
231
  // On start, load the channels from local db.
@@ -16,7 +16,7 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
16
16
  export type ChannelPreviewPropsWithContext<
17
17
  StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
18
18
  > = Pick<ChatContextValue<StreamChatGenerics>, 'client'> &
19
- Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview'> & {
19
+ Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview' | 'forceUpdate'> & {
20
20
  /**
21
21
  * The previewed channel
22
22
  */
@@ -32,7 +32,7 @@ const ChannelPreviewWithContext = <
32
32
  >(
33
33
  props: ChannelPreviewPropsWithContext<StreamChatGenerics>,
34
34
  ) => {
35
- const { channel, client, Preview } = props;
35
+ const { channel, client, forceUpdate: channelListForceUpdate, Preview } = props;
36
36
 
37
37
  const [lastMessage, setLastMessage] = useState<
38
38
  | ReturnType<ChannelState<StreamChatGenerics>['formatMessage']>
@@ -70,7 +70,7 @@ const ChannelPreviewWithContext = <
70
70
 
71
71
  const newUnreadCount = channel.countUnread();
72
72
  setUnread(newUnreadCount);
73
- }, [channelLastMessageString]);
73
+ }, [channelLastMessageString, channelListForceUpdate]);
74
74
 
75
75
  useEffect(() => {
76
76
  const handleNewMessageEvent = (event: Event<StreamChatGenerics>) => {
@@ -126,7 +126,7 @@ export const ChannelPreview = <
126
126
  props: ChannelPreviewProps<StreamChatGenerics>,
127
127
  ) => {
128
128
  const { client } = useChatContext<StreamChatGenerics>();
129
- const { Preview } = useChannelsContext<StreamChatGenerics>();
129
+ const { forceUpdate, Preview } = useChannelsContext<StreamChatGenerics>();
130
130
 
131
- return <ChannelPreviewWithContext {...{ client, Preview }} {...props} />;
131
+ return <ChannelPreviewWithContext {...{ client, forceUpdate, Preview }} {...props} />;
132
132
  };
@@ -20,6 +20,7 @@ import {
20
20
  import { useCreateMessageInputContext } from './hooks/useCreateMessageInputContext';
21
21
  import { isEditingBoolean, useMessageDetailsForState } from './hooks/useMessageDetailsForState';
22
22
 
23
+ import { parseLinksFromText } from '../../components/Message/MessageSimple/utils/parseLinks';
23
24
  import type { AttachButtonProps } from '../../components/MessageInput/AttachButton';
24
25
  import type { CommandsButtonProps } from '../../components/MessageInput/CommandsButton';
25
26
  import type { InputEditingStateHeaderProps } from '../../components/MessageInput/components/InputEditingStateHeader';
@@ -53,7 +54,6 @@ import {
53
54
  FileStateValue,
54
55
  generateRandomId,
55
56
  TriggerSettings,
56
- urlRegex,
57
57
  } from '../../utils/utils';
58
58
  import { useAttachmentPickerContext } from '../attachmentPickerContext/AttachmentPickerContext';
59
59
  import { ChannelContextValue, useChannelContext } from '../channelContext/ChannelContext';
@@ -689,8 +689,9 @@ export const MessageInputProvider = <
689
689
  if (sending.current) {
690
690
  return;
691
691
  }
692
+ const linkInfos = parseLinksFromText(text);
692
693
 
693
- if (!channelCapabities.sendLinks && !!text.match(urlRegex)) {
694
+ if (!channelCapabities.sendLinks && linkInfos.length > 0) {
694
695
  Alert.alert(t('Links are disabled'), t('Sending links is not allowed in this conversation'));
695
696
 
696
697
  return;
package/src/i18n/en.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "File type not supported": "File type not supported",
25
25
  "Flag": "Flag",
26
26
  "Flag Message": "Flag Message",
27
- "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged.",
27
+ "Flag action failed either due to a network issue or the message is already flagged": "Flag action failed either due to a network issue or the message is already flagged",
28
28
  "How about sending your first message to a friend?": "How about sending your first message to a friend?",
29
29
  "Instant Commands": "Instant Commands",
30
30
  "Let's start chatting!": "Let's start chatting!",