stream-chat-react-native-core 5.24.0-beta.5 → 5.24.0
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/lib/commonjs/components/Attachment/Attachment.js +22 -14
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js +11 -4
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +24 -16
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +14 -7
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +22 -16
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +14 -8
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +10 -4
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +6 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +9 -3
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js +2 -2
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/fr.json +54 -54
- package/lib/commonjs/i18n/hi.json +54 -54
- package/lib/commonjs/i18n/it.json +54 -54
- package/lib/commonjs/i18n/nl.json +54 -54
- package/lib/commonjs/i18n/ru.json +54 -54
- package/lib/commonjs/i18n/tr.json +54 -54
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +22 -14
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/Card.js +11 -4
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +24 -16
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Message/Message.js +14 -7
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +22 -16
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +14 -8
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +10 -4
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +6 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageOverlay.js +9 -3
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js +2 -2
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/fr.json +54 -54
- package/lib/module/i18n/hi.json +54 -54
- package/lib/module/i18n/it.json +54 -54
- package/lib/module/i18n/nl.json +54 -54
- package/lib/module/i18n/ru.json +54 -54
- package/lib/module/i18n/tr.json +54 -54
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +2 -2
- package/lib/typescript/components/Attachment/Card.d.ts +2 -2
- package/lib/typescript/components/Attachment/Gallery.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +1 -1
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +1 -1
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -1
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +8 -2
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/fr.json +54 -54
- package/lib/typescript/i18n/hi.json +54 -54
- package/lib/typescript/i18n/it.json +54 -54
- package/lib/typescript/i18n/nl.json +54 -54
- package/lib/typescript/i18n/ru.json +54 -54
- package/lib/typescript/i18n/tr.json +54 -54
- package/package.json +1 -1
- package/src/components/Attachment/Attachment.tsx +16 -2
- package/src/components/Attachment/Card.tsx +22 -4
- package/src/components/Attachment/Gallery.tsx +11 -0
- package/src/components/Message/Message.tsx +9 -0
- package/src/components/Message/MessageSimple/MessageContent.tsx +9 -0
- package/src/components/Message/MessageSimple/MessageSimple.tsx +9 -0
- package/src/components/Message/MessageSimple/MessageTextContainer.tsx +12 -2
- package/src/components/Message/hooks/useCreateMessageContext.ts +4 -0
- package/src/components/MessageOverlay/MessageOverlay.tsx +8 -0
- package/src/contexts/messageContext/MessageContext.tsx +7 -1
- package/src/i18n/en.json +1 -1
- package/src/i18n/fr.json +54 -54
- package/src/i18n/hi.json +54 -54
- package/src/i18n/it.json +54 -54
- package/src/i18n/nl.json +54 -54
- package/src/i18n/ru.json +54 -54
- package/src/i18n/tr.json +54 -54
- package/src/version.json +1 -1
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Risposta",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 Risposta alla Discussione",
|
|
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
|
-
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
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": "",
|
|
6
|
+
"Also send to channel": "Invia anche al canale",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Sei sicuro di voler eliminare definitivamente questo messaggio?",
|
|
8
|
+
"Are you sure?": "Sei sicuro?",
|
|
9
|
+
"Block User": "Blocca Utente",
|
|
10
|
+
"Cancel": "Annulla",
|
|
11
|
+
"Cannot Flag Message": "Impossibile Segnalare Messaggio",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Considera come il tuo commento potrebbe far sentire gli altri e assicurati di seguire le nostre Linee guida della community",
|
|
13
|
+
"Copy Message": "Copia Messaggio",
|
|
14
|
+
"Delete": "Elimina",
|
|
15
|
+
"Delete Message": "Cancella il Messaggio",
|
|
16
16
|
"Device camera is used to take photos or videos.": "La fotocamera del dispositivo viene utilizzata per scattare foto o video.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
17
|
+
"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?",
|
|
18
|
+
"Edit Message": "Modifica Messaggio",
|
|
19
19
|
"Editing Message": "Modificando il Messaggio",
|
|
20
20
|
"Emoji matching": "Abbinamento emoji",
|
|
21
|
-
"Empty message...": "",
|
|
22
|
-
"Error loading": "",
|
|
23
|
-
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
25
|
-
"Error while loading, please reload/refresh": "",
|
|
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": "",
|
|
30
|
-
"How about sending your first message to a friend?": "",
|
|
21
|
+
"Empty message...": "Message vuoto...",
|
|
22
|
+
"Error loading": "Errore di caricamento",
|
|
23
|
+
"Error loading channel list...": "Errore durante il caricamento della lista dei canali...",
|
|
24
|
+
"Error loading messages for this channel...": "Errore durante il caricamento dei messaggi per questo canale...",
|
|
25
|
+
"Error while loading, please reload/refresh": "Errore durante il caricamento, per favore ricarica la pagina",
|
|
26
|
+
"File type not supported": "Tipo di file non supportato",
|
|
27
|
+
"Flag": "Contrassegna",
|
|
28
|
+
"Flag Message": "Contrassegna Messaggio",
|
|
29
|
+
"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.",
|
|
30
|
+
"How about sending your first message to a friend?": "Che ne dici di inviare il tuo primo messaggio ad un amico?",
|
|
31
31
|
"Instant Commands": "Comandi Istantanei",
|
|
32
|
-
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
32
|
+
"Let's start chatting!": "Iniziamo a chattare!",
|
|
33
|
+
"Links are disabled": "I link sono disabilitati",
|
|
34
34
|
"Loading channels...": "Caricamento canali in corso...",
|
|
35
35
|
"Loading messages...": "Caricamento messaggi...",
|
|
36
36
|
"Loading...": "Caricamento...",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
39
|
-
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
37
|
+
"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.",
|
|
38
|
+
"Message Reactions": "Reazioni ai Messaggi",
|
|
39
|
+
"Message deleted": "Messaggio cancellato",
|
|
40
|
+
"Message flagged": "Messaggio contrassegnato",
|
|
41
|
+
"Mute User": "Utente Muto",
|
|
42
42
|
"Not supported": "non supportato",
|
|
43
|
-
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
43
|
+
"Nothing yet...": "Ancora niente...",
|
|
44
|
+
"Ok": "Ok",
|
|
45
|
+
"Only visible to you": "Visibile solo a te",
|
|
46
46
|
"Open Settings": "Apri Impostazioni",
|
|
47
|
-
"Photo": "",
|
|
47
|
+
"Photo": "Foto",
|
|
48
48
|
"Photos and Videos": "Foto e Video",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "",
|
|
49
|
+
"Pin to Conversation": "Metti in evidenza",
|
|
50
|
+
"Pinned by": "Fissato da",
|
|
51
51
|
"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.",
|
|
52
52
|
"Please select a channel first": "Seleziona un canale",
|
|
53
|
-
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
53
|
+
"Reconnecting...": "Ricollegarsi...",
|
|
54
|
+
"Reply": "Rispondi",
|
|
55
55
|
"Reply to Message": "Rispondi al messaggio",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Invia di nuovo",
|
|
57
57
|
"Search GIFs": "Cerca GIF",
|
|
58
58
|
"Select More Photos": "Seleziona Altre foto",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Invia comunque",
|
|
60
60
|
"Send a message": "Mandare un messaggio",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "L'invio di link non è consentito in questa conversazione",
|
|
62
62
|
"Slow mode ON": "Slowmode attiva",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Il messaggio è stato segnalato a un moderatore.",
|
|
64
|
+
"Thread Reply": "Rispondi alla Discussione",
|
|
65
|
+
"Unblock User": "Sblocca utente",
|
|
66
66
|
"Unknown User": "Utente sconosciuto",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
67
|
+
"Unmute User": "Riattiva utente",
|
|
68
|
+
"Unpin from Conversation": "Rimuovi dagli elementi in evidenza",
|
|
69
|
+
"Unread Messages": "Messaggi non letti",
|
|
70
|
+
"Video": "Video",
|
|
71
|
+
"You": "Tu",
|
|
72
|
+
"You can't send messages in this channel": "Non puoi inviare messaggi in questo canale",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} e altri {{ nonSelfUserLength }} stanno scrivendo",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} di {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Risposte",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
78
|
-
"🏙 Attachment...": ""
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Risposte alle Conversazione",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} sta scrivendo",
|
|
78
|
+
"🏙 Attachment...": "🏙 Allegato..."
|
|
79
79
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Antwoord",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 thread antwoord",
|
|
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
|
-
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
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": "",
|
|
6
|
+
"Also send to channel": "Stuur ook naar kanaal",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Weet u zeker dat u dit bericht definitief wilt verwijderen?",
|
|
8
|
+
"Are you sure?": "Weet je het zeker?",
|
|
9
|
+
"Block User": "Blokkeer Gebruiker",
|
|
10
|
+
"Cancel": "Annuleer",
|
|
11
|
+
"Cannot Flag Message": "Kan bericht niet rapporteren",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Denk na over hoe jouw opmerking anderen zou kunnen laten voelen en zorg ervoor dat je onze Community-richtlijnen volgt",
|
|
13
|
+
"Copy Message": "Bericht kopiëren",
|
|
14
|
+
"Delete": "Verwijderen",
|
|
15
|
+
"Delete Message": "Verwijder bericht",
|
|
16
16
|
"Device camera is used to take photos or videos.": "De camera van het apparaat wordt gebruikt om foto's of video's te maken.",
|
|
17
|
-
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
18
|
-
"Edit Message": "",
|
|
17
|
+
"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?",
|
|
18
|
+
"Edit Message": "Pas bericht aan",
|
|
19
19
|
"Editing Message": "Bericht aanpassen",
|
|
20
20
|
"Emoji matching": "Emoji-overeenkomsten",
|
|
21
|
-
"Empty message...": "",
|
|
22
|
-
"Error loading": "",
|
|
23
|
-
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
25
|
-
"Error while loading, please reload/refresh": "",
|
|
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": "",
|
|
30
|
-
"How about sending your first message to a friend?": "",
|
|
21
|
+
"Empty message...": "Leeg bericht...",
|
|
22
|
+
"Error loading": "Probleem bij het laden",
|
|
23
|
+
"Error loading channel list...": "Probleem bij het laden van de kanalen...",
|
|
24
|
+
"Error loading messages for this channel...": "Probleem bij het laden van de berichten in dit kanaal...",
|
|
25
|
+
"Error while loading, please reload/refresh": "Probleem bij het laden, probeer opnieuw",
|
|
26
|
+
"File type not supported": "Bestandstype niet ondersteund",
|
|
27
|
+
"Flag": "Markeer",
|
|
28
|
+
"Flag Message": "Markeer bericht",
|
|
29
|
+
"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",
|
|
30
|
+
"How about sending your first message to a friend?": "Wat dacht je ervan om je eerste bericht naar een vriend te sturen?",
|
|
31
31
|
"Instant Commands": "Directe Opdrachten",
|
|
32
|
-
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
32
|
+
"Let's start chatting!": "Laten we beginnen met chatten!",
|
|
33
|
+
"Links are disabled": "Het versturen van links staat uit",
|
|
34
34
|
"Loading channels...": "Kanalen aan het laden...",
|
|
35
35
|
"Loading messages...": "Berichten aan het laden...",
|
|
36
36
|
"Loading...": "Aan het laden...",
|
|
37
|
-
"Maximum file size upload limit reached. Please upload a file below {{MAX_FILE_SIZE_TO_UPLOAD_IN_MB}} MB.": "",
|
|
38
|
-
"Message Reactions": "",
|
|
39
|
-
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
37
|
+
"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.",
|
|
38
|
+
"Message Reactions": "Bericht Reacties",
|
|
39
|
+
"Message deleted": "Bericht verwijderd",
|
|
40
|
+
"Message flagged": "Bericht gemarkeerd",
|
|
41
|
+
"Mute User": "Gebruiker dempen",
|
|
42
42
|
"Not supported": "niet ondersteund",
|
|
43
|
-
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
43
|
+
"Nothing yet...": "Nog niets...",
|
|
44
|
+
"Ok": "Oké",
|
|
45
|
+
"Only visible to you": "Alleen zichtbaar voor jou",
|
|
46
46
|
"Open Settings": "Open instellingen",
|
|
47
|
-
"Photo": "",
|
|
47
|
+
"Photo": "Foto",
|
|
48
48
|
"Photos and Videos": "Foto's en video's",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "",
|
|
49
|
+
"Pin to Conversation": "Vastmaken aan gesprek",
|
|
50
|
+
"Pinned by": "Vastgemaakt door",
|
|
51
51
|
"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.",
|
|
52
52
|
"Please select a channel first": "Selecteer eerst een kanaal",
|
|
53
|
-
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
53
|
+
"Reconnecting...": "Opnieuw Verbinding Maken...",
|
|
54
|
+
"Reply": "Antwoord",
|
|
55
55
|
"Reply to Message": "Beantwoord bericht",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Opnieuw versturen",
|
|
57
57
|
"Search GIFs": "Zoek GIF's",
|
|
58
58
|
"Select More Photos": "Selecteer Meer foto's",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Toch verzenden",
|
|
60
60
|
"Send a message": "Stuur een bericht",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "In dit gesprek is het niet toegestaan links te versturen",
|
|
62
62
|
"Slow mode ON": "Langzame modus aan",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Het bericht is gerapporteerd aan een moderator.",
|
|
64
|
+
"Thread Reply": "Discussie beantwoorden",
|
|
65
|
+
"Unblock User": "Deblokkeer gebruiker",
|
|
66
66
|
"Unknown User": "Onbekende gebruiker",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
67
|
+
"Unmute User": "Dempen van gebruiker opheffen",
|
|
68
|
+
"Unpin from Conversation": "Losmaken van gesprek",
|
|
69
|
+
"Unread Messages": "Ongelezen Berichten",
|
|
70
|
+
"Video": "Video",
|
|
71
|
+
"You": "U",
|
|
72
|
+
"You can't send messages in this channel": "Je kan geen berichten sturen in dit kanaal",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} en {{ nonSelfUserLength }} anderen zijn aan het typen",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} van {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Antwoorden",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
78
|
-
"🏙 Attachment...": ""
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Discussiereacties",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} is aan het typen",
|
|
78
|
+
"🏙 Attachment...": "🏙 Bijlage..."
|
|
79
79
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 тема Ответить",
|
|
4
4
|
"Allow access to your Gallery": "Разрешить доступ к вашей галерее",
|
|
5
5
|
"Allow camera access in device settings": "Разрешите доступ к камере в настройках устройства.",
|
|
6
|
-
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
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": "",
|
|
6
|
+
"Also send to channel": "Также отправить на канал",
|
|
7
|
+
"Are you sure you want to permanently delete this message?": "Вы действительно хотите удалить это сообщение без возможности восстановления?",
|
|
8
|
+
"Are you sure?": "Вы уверены?",
|
|
9
|
+
"Block User": "Заблокировать пользователя",
|
|
10
|
+
"Cancel": "Отмена",
|
|
11
|
+
"Cannot Flag Message": "Невозможно пожаловаться на сообщение",
|
|
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
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": "",
|
|
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
|
-
"Empty message...": "",
|
|
22
|
-
"Error loading": "",
|
|
23
|
-
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
25
|
-
"Error while loading, please reload/refresh": "",
|
|
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": "",
|
|
30
|
-
"How about sending your first message to a friend?": "",
|
|
21
|
+
"Empty message...": "Пустое сообщение...",
|
|
22
|
+
"Error loading": "Ошибка при загрузке",
|
|
23
|
+
"Error loading channel list...": "Ошибка загрузки списка каналов...",
|
|
24
|
+
"Error loading messages for this channel...": "Ошибка загрузки сообщений для этого канала...",
|
|
25
|
+
"Error while loading, please reload/refresh": "Ошибка загрузки, пожалуйста перезагрузите или обновите",
|
|
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": "Не удалось отправить жалобу. Возможные причины: проблема с подключением к интернету или ваша жалоба уже была принята.",
|
|
30
|
+
"How about sending your first message to a friend?": "Как насчет отправки первого сообщения другу?",
|
|
31
31
|
"Instant Commands": "Мгновенные Команды",
|
|
32
|
-
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
32
|
+
"Let's start chatting!": "Давайте начнем общаться!",
|
|
33
|
+
"Links are disabled": "Ссылки отключены",
|
|
34
34
|
"Loading channels...": "Загружаю каналы...",
|
|
35
35
|
"Loading messages...": "Загружаю сообщения...",
|
|
36
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
|
-
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
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": "Сообщения Реакции",
|
|
39
|
+
"Message deleted": "Сообщение удалено",
|
|
40
|
+
"Message flagged": "Сообщение отмечено",
|
|
41
|
+
"Mute User": "Отключить пользователя",
|
|
42
42
|
"Not supported": "не поддерживается",
|
|
43
|
-
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
43
|
+
"Nothing yet...": "Пока ничего нет...",
|
|
44
|
+
"Ok": "Oк",
|
|
45
|
+
"Only visible to you": "Видно только вам",
|
|
46
46
|
"Open Settings": "Открыть настройки",
|
|
47
|
-
"Photo": "",
|
|
47
|
+
"Photo": "Фото",
|
|
48
48
|
"Photos and Videos": "Фото и видео",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "",
|
|
49
|
+
"Pin to Conversation": "Закрепить к беседе",
|
|
50
|
+
"Pinned by": "Закреплено пользователем",
|
|
51
51
|
"Please enable access to your photos and videos so you can share them.": "Разрешите доступ к своим фотографиям и видео, чтобы вы могли ими поделиться.",
|
|
52
52
|
"Please select a channel first": "Пожалуйста, сначала выберите канал",
|
|
53
|
-
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
53
|
+
"Reconnecting...": "Переподключение...",
|
|
54
|
+
"Reply": "Ответить",
|
|
55
55
|
"Reply to Message": "Ответить на сообщение",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Отправить",
|
|
57
57
|
"Search GIFs": "Поиск GIF",
|
|
58
58
|
"Select More Photos": "Выбрать больше фотографий",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Всё равно отправить",
|
|
60
60
|
"Send a message": "Отправить сообщение",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Отправка ссылок недоступна в этом чате",
|
|
62
62
|
"Slow mode ON": "Медленный режим включен",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
63
|
+
"The message has been reported to a moderator.": "Сообщение отправлено модератору.",
|
|
64
|
+
"Thread Reply": "Тема Ответить",
|
|
65
|
+
"Unblock User": "Разблокировать пользователя",
|
|
66
66
|
"Unknown User": "Неизвестный пользователь",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
67
|
+
"Unmute User": "Включить микрофон",
|
|
68
|
+
"Unpin from Conversation": "Открепить от беседы",
|
|
69
|
+
"Unread Messages": "Непрочитанные Сообщения",
|
|
70
|
+
"Video": "видео",
|
|
71
|
+
"You": "Вы",
|
|
72
|
+
"You can't send messages in this channel": "Вы не можете отправлять сообщения в этот канал",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} и еще {{ nonSelfUserLength }} пишут",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
78
|
-
"🏙 Attachment...": ""
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{replyCount}} Ответы в темах",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} пишет",
|
|
78
|
+
"🏙 Attachment...": "🏙 Вложение..."
|
|
79
79
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
|
-
"1 Thread Reply": "",
|
|
3
|
+
"1 Thread Reply": "1 Konu Yanıtı",
|
|
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
|
-
"Also send to channel": "",
|
|
7
|
-
"Are you sure you want to permanently delete this message?": "",
|
|
8
|
-
"Are you sure?": "",
|
|
9
|
-
"Block User": "",
|
|
10
|
-
"Cancel": "",
|
|
11
|
-
"Cannot Flag Message": "",
|
|
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": "",
|
|
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?",
|
|
8
|
+
"Are you sure?": "Emin misiniz?",
|
|
9
|
+
"Block User": "Kullanıcıyı engelle",
|
|
10
|
+
"Cancel": "İptal",
|
|
11
|
+
"Cannot Flag Message": "Raporlama Başarısız",
|
|
12
|
+
"Consider how your comment might make others feel and be sure to follow our Community Guidelines": "Yorumunuzun diğerlerini nasıl hissettirebileceğini düşünün ve topluluk kurallarımızı takip ettiğinizden emin olun",
|
|
13
|
+
"Copy Message": "Mesajı Kopyala",
|
|
14
|
+
"Delete": "Sil",
|
|
15
|
+
"Delete Message": "Mesajı Sil",
|
|
16
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": "",
|
|
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",
|
|
19
19
|
"Editing Message": "Mesaj Düzenleniyor",
|
|
20
20
|
"Emoji matching": "Emoji eşleştirme",
|
|
21
|
-
"Empty message...": "",
|
|
22
|
-
"Error loading": "",
|
|
23
|
-
"Error loading channel list...": "",
|
|
24
|
-
"Error loading messages for this channel...": "",
|
|
25
|
-
"Error while loading, please reload/refresh": "",
|
|
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": "",
|
|
30
|
-
"How about sending your first message to a friend?": "",
|
|
21
|
+
"Empty message...": "Boş mesaj...",
|
|
22
|
+
"Error loading": "Yükleme hatası",
|
|
23
|
+
"Error loading channel list...": "Kanal listesi yüklenirken hata oluştu...",
|
|
24
|
+
"Error loading messages for this channel...": "Bu kanal için mesajlar yüklenirken hata oluştu...",
|
|
25
|
+
"Error while loading, please reload/refresh": "Yüklenirken hata oluştu, lütfen tekrar deneyiniz",
|
|
26
|
+
"File type not supported": "Dosya türü desteklenmiyor",
|
|
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.",
|
|
30
|
+
"How about sending your first message to a friend?": "İlk mesajınızı bir arkadaşınıza göndermeye ne dersiniz?",
|
|
31
31
|
"Instant Commands": "Anlık Komutlar",
|
|
32
|
-
"Let's start chatting!": "",
|
|
33
|
-
"Links are disabled": "",
|
|
32
|
+
"Let's start chatting!": "Haydi sohbete başlayalım!",
|
|
33
|
+
"Links are disabled": "Bağlantılar devre dışı",
|
|
34
34
|
"Loading channels...": "Kanallar yükleniyor...",
|
|
35
35
|
"Loading messages...": "Mesajlar yükleniyor...",
|
|
36
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
|
-
"Message deleted": "",
|
|
40
|
-
"Message flagged": "",
|
|
41
|
-
"Mute User": "",
|
|
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",
|
|
39
|
+
"Message deleted": "Mesaj silindi",
|
|
40
|
+
"Message flagged": "Mesaj işaretlendi",
|
|
41
|
+
"Mute User": "Kullanıcıyı sessize al",
|
|
42
42
|
"Not supported": "Desteklenmiyor",
|
|
43
|
-
"Nothing yet...": "",
|
|
44
|
-
"Ok": "",
|
|
45
|
-
"Only visible to you": "",
|
|
43
|
+
"Nothing yet...": "Henüz değil...",
|
|
44
|
+
"Ok": "Tamam",
|
|
45
|
+
"Only visible to you": "Sadece siz görebilirsiniz",
|
|
46
46
|
"Open Settings": "Ayarları aç",
|
|
47
|
-
"Photo": "",
|
|
47
|
+
"Photo": "Fotoğraf",
|
|
48
48
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
49
|
-
"Pin to Conversation": "",
|
|
50
|
-
"Pinned by": "",
|
|
49
|
+
"Pin to Conversation": "Konuşmaya sabitle",
|
|
50
|
+
"Pinned by": "Tarafından sabitlendi",
|
|
51
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
52
|
"Please select a channel first": "Lütfen önce bir kanal seçiniz",
|
|
53
|
-
"Reconnecting...": "",
|
|
54
|
-
"Reply": "",
|
|
53
|
+
"Reconnecting...": "Yeniden Bağlanılıyor...",
|
|
54
|
+
"Reply": "Yanıtla",
|
|
55
55
|
"Reply to Message": "Mesajı Yanıtla",
|
|
56
|
-
"Resend": "",
|
|
56
|
+
"Resend": "Yeniden gönder",
|
|
57
57
|
"Search GIFs": "GIF Ara",
|
|
58
58
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
59
|
-
"Send Anyway": "",
|
|
59
|
+
"Send Anyway": "Yine de Gönder",
|
|
60
60
|
"Send a message": "Mesaj gönder",
|
|
61
|
-
"Sending links is not allowed in this conversation": "",
|
|
61
|
+
"Sending links is not allowed in this conversation": "Bu konuşmada bağlantı göndermek desteklenmiyor",
|
|
62
62
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
63
|
-
"The message has been reported to a moderator.": "",
|
|
64
|
-
"Thread Reply": "",
|
|
65
|
-
"Unblock User": "",
|
|
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
66
|
"Unknown User": "Bilinmeyen kullanıcı",
|
|
67
|
-
"Unmute User": "",
|
|
68
|
-
"Unpin from Conversation": "",
|
|
69
|
-
"Unread Messages": "",
|
|
70
|
-
"Video": "",
|
|
71
|
-
"You": "",
|
|
72
|
-
"You can't send messages in this channel": "",
|
|
73
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
67
|
+
"Unmute User": "Kullanıcının sesini aç",
|
|
68
|
+
"Unpin from Conversation": "Sabitlemeyi kaldır",
|
|
69
|
+
"Unread Messages": "Okunmamış Mesajlar",
|
|
70
|
+
"Video": "Video",
|
|
71
|
+
"You": "Sen",
|
|
72
|
+
"You can't send messages in this channel": "Bu konuşmaya mesaj gönderemezsiniz",
|
|
73
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "{{ firstUser }} ve {{ nonSelfUserLength }} kişi daha yazıyor",
|
|
74
74
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
75
75
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
76
|
-
"{{ replyCount }} Thread Replies": "",
|
|
77
|
-
"{{ user }} is typing": "",
|
|
78
|
-
"🏙 Attachment...": ""
|
|
76
|
+
"{{ replyCount }} Thread Replies": "{{responseCount}} Konu Cevapı",
|
|
77
|
+
"{{ user }} is typing": "{{ user }} yazıyor",
|
|
78
|
+
"🏙 Attachment...": "🏙 Ek..."
|
|
79
79
|
}
|
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
|
|
4
|
+
"version": "5.24.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -29,6 +29,7 @@ export type AttachmentPropsWithContext<
|
|
|
29
29
|
| 'Giphy'
|
|
30
30
|
| 'isAttachmentEqual'
|
|
31
31
|
| 'UrlPreview'
|
|
32
|
+
| 'myMessageTheme'
|
|
32
33
|
> & {
|
|
33
34
|
/**
|
|
34
35
|
* The attachment to render
|
|
@@ -106,8 +107,12 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
106
107
|
prevProps: AttachmentPropsWithContext<StreamChatGenerics>,
|
|
107
108
|
nextProps: AttachmentPropsWithContext<StreamChatGenerics>,
|
|
108
109
|
) => {
|
|
109
|
-
const {
|
|
110
|
-
|
|
110
|
+
const {
|
|
111
|
+
attachment: prevAttachment,
|
|
112
|
+
isAttachmentEqual,
|
|
113
|
+
myMessageTheme: prevMyMessageTheme,
|
|
114
|
+
} = prevProps;
|
|
115
|
+
const { attachment: nextAttachment, myMessageTheme: nextMyMessageTheme } = nextProps;
|
|
111
116
|
|
|
112
117
|
const attachmentEqual =
|
|
113
118
|
prevAttachment.actions?.length === nextAttachment.actions?.length &&
|
|
@@ -119,6 +124,10 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
|
|
|
119
124
|
return isAttachmentEqual(prevAttachment, nextAttachment);
|
|
120
125
|
}
|
|
121
126
|
|
|
127
|
+
const messageThemeEqual =
|
|
128
|
+
JSON.stringify(prevMyMessageTheme) === JSON.stringify(nextMyMessageTheme);
|
|
129
|
+
if (!messageThemeEqual) return false;
|
|
130
|
+
|
|
122
131
|
return true;
|
|
123
132
|
};
|
|
124
133
|
|
|
@@ -138,6 +147,7 @@ export type AttachmentProps<
|
|
|
138
147
|
| 'Gallery'
|
|
139
148
|
| 'Giphy'
|
|
140
149
|
| 'giphyVersion'
|
|
150
|
+
| 'myMessageTheme'
|
|
141
151
|
| 'UrlPreview'
|
|
142
152
|
| 'isAttachmentEqual'
|
|
143
153
|
>
|
|
@@ -160,6 +170,7 @@ export const Attachment = <
|
|
|
160
170
|
Gallery: PropGallery,
|
|
161
171
|
Giphy: PropGiphy,
|
|
162
172
|
giphyVersion: PropGiphyVersion,
|
|
173
|
+
myMessageTheme: PropMyMessageTheme,
|
|
163
174
|
UrlPreview: PropUrlPreview,
|
|
164
175
|
} = props;
|
|
165
176
|
|
|
@@ -171,6 +182,7 @@ export const Attachment = <
|
|
|
171
182
|
Giphy: ContextGiphy,
|
|
172
183
|
giphyVersion: ContextGiphyVersion,
|
|
173
184
|
isAttachmentEqual,
|
|
185
|
+
myMessageTheme: ContextMyMessageTheme,
|
|
174
186
|
UrlPreview: ContextUrlPreview,
|
|
175
187
|
} = useMessagesContext<StreamChatGenerics>();
|
|
176
188
|
|
|
@@ -186,6 +198,7 @@ export const Attachment = <
|
|
|
186
198
|
const Giphy = PropGiphy || ContextGiphy || GiphyDefault;
|
|
187
199
|
const UrlPreview = PropUrlPreview || ContextUrlPreview || CardDefault;
|
|
188
200
|
const giphyVersion = PropGiphyVersion || ContextGiphyVersion;
|
|
201
|
+
const myMessageTheme = PropMyMessageTheme || ContextMyMessageTheme;
|
|
189
202
|
|
|
190
203
|
return (
|
|
191
204
|
<MemoizedAttachment
|
|
@@ -198,6 +211,7 @@ export const Attachment = <
|
|
|
198
211
|
Giphy,
|
|
199
212
|
giphyVersion,
|
|
200
213
|
isAttachmentEqual,
|
|
214
|
+
myMessageTheme,
|
|
201
215
|
UrlPreview,
|
|
202
216
|
}}
|
|
203
217
|
/>
|