stream-chat-react-native-core 5.23.2 → 5.24.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +13 -7
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +10 -7
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +9 -9
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/i18n/en.json +1 -1
- package/lib/commonjs/i18n/fr.json +52 -52
- package/lib/commonjs/i18n/hi.json +52 -52
- package/lib/commonjs/i18n/it.json +52 -52
- package/lib/commonjs/i18n/nl.json +52 -52
- package/lib/commonjs/i18n/ru.json +52 -52
- package/lib/commonjs/i18n/tr.json +52 -52
- package/lib/commonjs/store/apis/getChannelMessages.js +8 -5
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/utils/utils.js +6 -1
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +13 -7
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/Message/Message.js +10 -7
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +9 -9
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/i18n/en.json +1 -1
- package/lib/module/i18n/fr.json +52 -52
- package/lib/module/i18n/hi.json +52 -52
- package/lib/module/i18n/it.json +52 -52
- package/lib/module/i18n/nl.json +52 -52
- package/lib/module/i18n/ru.json +52 -52
- package/lib/module/i18n/tr.json +52 -52
- package/lib/module/store/apis/getChannelMessages.js +8 -5
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/utils/utils.js +6 -1
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/i18n/en.json +1 -1
- package/lib/typescript/i18n/fr.json +52 -52
- package/lib/typescript/i18n/hi.json +52 -52
- package/lib/typescript/i18n/it.json +52 -52
- package/lib/typescript/i18n/nl.json +52 -52
- package/lib/typescript/i18n/ru.json +52 -52
- package/lib/typescript/i18n/tr.json +52 -52
- package/lib/typescript/utils/utils.d.ts +3 -0
- package/package.json +1 -1
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +9 -3
- package/src/components/Message/Message.tsx +5 -2
- package/src/components/Message/MessageSimple/MessageStatus.tsx +7 -5
- package/src/i18n/en.json +1 -1
- package/src/i18n/fr.json +52 -52
- package/src/i18n/hi.json +52 -52
- package/src/i18n/it.json +52 -52
- package/src/i18n/nl.json +52 -52
- package/src/i18n/ru.json +52 -52
- package/src/i18n/tr.json +52 -52
- package/src/store/apis/getChannelMessages.ts +10 -7
- package/src/utils/utils.ts +12 -0
- package/src/version.json +1 -1
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Antwoord",
|
|
3
|
-
"1 Thread Reply": "
|
|
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": "Stuur ook naar kanaal",
|
|
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.": "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?": "
|
|
16
|
-
"Edit Message": "
|
|
15
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
|
+
"Edit Message": "",
|
|
17
17
|
"Editing Message": "Bericht aanpassen",
|
|
18
|
-
"Emoji matching": "
|
|
19
|
-
"Empty message...": "
|
|
20
|
-
"Error loading": "
|
|
21
|
-
"Error loading channel list...": "
|
|
22
|
-
"Error loading messages for this channel...": "
|
|
23
|
-
"Error while loading, please reload/refresh": "
|
|
18
|
+
"Emoji matching": "",
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"Error while loading, please reload/refresh": "",
|
|
24
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
|
-
"How about sending your first message to a friend?": "
|
|
29
|
-
"Instant Commands": "
|
|
30
|
-
"Let's start chatting!": "
|
|
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.": "
|
|
25
|
+
"Flag": "",
|
|
26
|
+
"Flag Message": "",
|
|
27
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
29
|
+
"Instant Commands": "",
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
36
|
"Message Reactions": "Bericht Reacties",
|
|
37
|
-
"Message deleted": "
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
40
|
-
"Not supported": "
|
|
41
|
-
"Nothing yet...": "
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "Open instellingen",
|
|
45
45
|
"Photo": "Foto",
|
|
46
46
|
"Photos and Videos": "Foto's en video's",
|
|
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.": "Schakel toegang tot uw foto's en video's in zodat u ze kunt delen.",
|
|
50
|
-
"Please select a channel first": "
|
|
51
|
-
"Reconnecting...": "
|
|
52
|
-
"Reply": "
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
53
|
"Reply to Message": "Beantwoord bericht",
|
|
54
|
-
"Resend": "
|
|
54
|
+
"Resend": "",
|
|
55
55
|
"Search GIFs": "Zoek GIF's",
|
|
56
56
|
"Select More Photos": "Selecteer Meer foto's",
|
|
57
57
|
"Send a message": "Stuur een bericht",
|
|
58
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
59
59
|
"Slow mode ON": "Langzame modus aan",
|
|
60
|
-
"The message has been reported to a moderator.": "
|
|
61
|
-
"Thread Reply": "
|
|
62
|
-
"Unblock User": "
|
|
60
|
+
"The message has been reported to a moderator.": "",
|
|
61
|
+
"Thread Reply": "",
|
|
62
|
+
"Unblock User": "",
|
|
63
63
|
"Unknown User": "Onbekende gebruiker",
|
|
64
|
-
"Unmute User": "
|
|
65
|
-
"Unpin from Conversation": "
|
|
64
|
+
"Unmute User": "",
|
|
65
|
+
"Unpin from Conversation": "",
|
|
66
66
|
"Unread Messages": "Ongelezen Berichten",
|
|
67
67
|
"Video": "Video",
|
|
68
|
-
"You": "
|
|
69
|
-
"You can't send messages in this channel": "
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
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": "
|
|
74
|
-
"{{ user }} is typing": "
|
|
75
|
-
"🏙 Attachment...": "
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "",
|
|
75
|
+
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Ответ",
|
|
3
|
-
"1 Thread Reply": "
|
|
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": "
|
|
15
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
|
+
"Edit Message": "",
|
|
17
17
|
"Editing Message": "Редактирование сообщения",
|
|
18
|
-
"Emoji matching": "
|
|
19
|
-
"Empty message...": "
|
|
20
|
-
"Error loading": "
|
|
21
|
-
"Error loading channel list...": "
|
|
22
|
-
"Error loading messages for this channel...": "
|
|
23
|
-
"Error while loading, please reload/refresh": "
|
|
18
|
+
"Emoji matching": "",
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"Error while loading, please reload/refresh": "",
|
|
24
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
|
-
"How about sending your first message to a friend?": "
|
|
29
|
-
"Instant Commands": "
|
|
30
|
-
"Let's start chatting!": "
|
|
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.": "
|
|
25
|
+
"Flag": "",
|
|
26
|
+
"Flag Message": "",
|
|
27
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
29
|
+
"Instant Commands": "",
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
36
|
"Message Reactions": "Сообщения Реакции",
|
|
37
|
-
"Message deleted": "
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
40
|
-
"Not supported": "
|
|
41
|
-
"Nothing yet...": "
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "Открыть настройки",
|
|
45
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
|
-
"Please select a channel first": "
|
|
51
|
-
"Reconnecting...": "
|
|
52
|
-
"Reply": "
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
53
|
"Reply to Message": "Ответить на сообщение",
|
|
54
|
-
"Resend": "
|
|
54
|
+
"Resend": "",
|
|
55
55
|
"Search GIFs": "Поиск GIF",
|
|
56
56
|
"Select More Photos": "Выбрать больше фотографий",
|
|
57
57
|
"Send a message": "Отправить сообщение",
|
|
58
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
59
59
|
"Slow mode ON": "Медленный режим включен",
|
|
60
|
-
"The message has been reported to a moderator.": "
|
|
61
|
-
"Thread Reply": "
|
|
62
|
-
"Unblock User": "
|
|
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
67
|
"Video": "видео",
|
|
68
|
-
"You": "
|
|
69
|
-
"You can't send messages in this channel": "
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
71
|
"{{ index }} of {{ photoLength }}": "{{ index }} из {{ photoLength }}",
|
|
72
72
|
"{{ replyCount }} Replies": "{{ replyCount }} Ответов",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "
|
|
75
|
-
"🏙 Attachment...": "
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "",
|
|
75
|
+
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"1 Reply": "1 Cevap",
|
|
3
|
-
"1 Thread Reply": "
|
|
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": "Kanala da gönder",
|
|
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.": "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?": "
|
|
16
|
-
"Edit Message": "
|
|
15
|
+
"Do you want to send a copy of this message to a moderator for further investigation?": "",
|
|
16
|
+
"Edit Message": "",
|
|
17
17
|
"Editing Message": "Mesaj Düzenleniyor",
|
|
18
|
-
"Emoji matching": "
|
|
19
|
-
"Empty message...": "
|
|
20
|
-
"Error loading": "
|
|
21
|
-
"Error loading channel list...": "
|
|
22
|
-
"Error loading messages for this channel...": "
|
|
23
|
-
"Error while loading, please reload/refresh": "
|
|
18
|
+
"Emoji matching": "",
|
|
19
|
+
"Empty message...": "",
|
|
20
|
+
"Error loading": "",
|
|
21
|
+
"Error loading channel list...": "",
|
|
22
|
+
"Error loading messages for this channel...": "",
|
|
23
|
+
"Error while loading, please reload/refresh": "",
|
|
24
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
|
-
"How about sending your first message to a friend?": "
|
|
29
|
-
"Instant Commands": "
|
|
30
|
-
"Let's start chatting!": "
|
|
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.": "
|
|
25
|
+
"Flag": "",
|
|
26
|
+
"Flag Message": "",
|
|
27
|
+
"Flag action failed either due to a network issue or the message is already flagged": "",
|
|
28
|
+
"How about sending your first message to a friend?": "",
|
|
29
|
+
"Instant Commands": "",
|
|
30
|
+
"Let's start chatting!": "",
|
|
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.": "",
|
|
36
36
|
"Message Reactions": "Mesaj Tepkileri",
|
|
37
|
-
"Message deleted": "
|
|
38
|
-
"Message flagged": "
|
|
39
|
-
"Mute User": "
|
|
40
|
-
"Not supported": "
|
|
41
|
-
"Nothing yet...": "
|
|
42
|
-
"Ok": "
|
|
43
|
-
"Only visible to you": "
|
|
37
|
+
"Message deleted": "",
|
|
38
|
+
"Message flagged": "",
|
|
39
|
+
"Mute User": "",
|
|
40
|
+
"Not supported": "",
|
|
41
|
+
"Nothing yet...": "",
|
|
42
|
+
"Ok": "",
|
|
43
|
+
"Only visible to you": "",
|
|
44
44
|
"Open Settings": "Ayarları aç",
|
|
45
45
|
"Photo": "Fotoğraf",
|
|
46
46
|
"Photos and Videos": "Fotoğraflar ve Videolar",
|
|
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.": "Paylaşım yapabilmek için lutfen fotoğraflarınıza ve videolarınıza erişimi etkinleştirin.",
|
|
50
|
-
"Please select a channel first": "
|
|
51
|
-
"Reconnecting...": "
|
|
52
|
-
"Reply": "
|
|
50
|
+
"Please select a channel first": "",
|
|
51
|
+
"Reconnecting...": "",
|
|
52
|
+
"Reply": "",
|
|
53
53
|
"Reply to Message": "Mesajı Yanıtla",
|
|
54
|
-
"Resend": "
|
|
54
|
+
"Resend": "",
|
|
55
55
|
"Search GIFs": "GIF Ara",
|
|
56
56
|
"Select More Photos": "Daha Fazla Fotoğraf Seçin",
|
|
57
57
|
"Send a message": "Mesaj gönder",
|
|
58
|
-
"Sending links is not allowed in this conversation": "
|
|
58
|
+
"Sending links is not allowed in this conversation": "",
|
|
59
59
|
"Slow mode ON": "Yavaş Mod Açık",
|
|
60
|
-
"The message has been reported to a moderator.": "
|
|
61
|
-
"Thread Reply": "
|
|
62
|
-
"Unblock User": "
|
|
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": "
|
|
65
|
-
"Unpin from Conversation": "
|
|
64
|
+
"Unmute User": "",
|
|
65
|
+
"Unpin from Conversation": "",
|
|
66
66
|
"Unread Messages": "Okunmamış Mesajlar",
|
|
67
67
|
"Video": "Video",
|
|
68
|
-
"You": "
|
|
69
|
-
"You can't send messages in this channel": "
|
|
70
|
-
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "
|
|
68
|
+
"You": "",
|
|
69
|
+
"You can't send messages in this channel": "",
|
|
70
|
+
"{{ firstUser }} and {{ nonSelfUserLength }} more are typing": "",
|
|
71
71
|
"{{ index }} of {{ photoLength }}": "{{ index }} / {{ photoLength }}",
|
|
72
72
|
"{{ replyCount }} Replies": "{{ replyCount }} Cevap",
|
|
73
|
-
"{{ replyCount }} Thread Replies": "
|
|
74
|
-
"{{ user }} is typing": "
|
|
75
|
-
"🏙 Attachment...": "
|
|
73
|
+
"{{ replyCount }} Thread Replies": "",
|
|
74
|
+
"{{ user }} is typing": "",
|
|
75
|
+
"🏙 Attachment...": ""
|
|
76
76
|
}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
exports.getChannelMessages = void 0;
|
|
5
5
|
var _selectMessagesForChannels = require("./queries/selectMessagesForChannels");
|
|
6
6
|
var _selectReactionsForMessages = require("./queries/selectReactionsForMessages");
|
|
7
|
+
var _utils = require("../../utils/utils");
|
|
7
8
|
var _mapStorableToMessage = require("../mappers/mapStorableToMessage");
|
|
8
9
|
var getChannelMessages = function getChannelMessages(_ref) {
|
|
9
10
|
var channelIds = _ref.channelIds,
|
|
@@ -26,11 +27,13 @@ var getChannelMessages = function getChannelMessages(_ref) {
|
|
|
26
27
|
if (!cidVsMessages[m.cid]) {
|
|
27
28
|
cidVsMessages[m.cid] = [];
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
if (!(0, _utils.isBlockedMessage)(m)) {
|
|
31
|
+
cidVsMessages[m.cid].push((0, _mapStorableToMessage.mapStorableToMessage)({
|
|
32
|
+
currentUserId: currentUserId,
|
|
33
|
+
messageRow: m,
|
|
34
|
+
reactionRows: messageIdVsReactions[m.id]
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
34
37
|
});
|
|
35
38
|
return cidVsMessages;
|
|
36
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_selectMessagesForChannels","require","_selectReactionsForMessages","_mapStorableToMessage","getChannelMessages","_ref","channelIds","currentUserId","messageRows","selectMessagesForChannels","messageIds","map","_ref2","id","reactionRows","selectReactionsForMessages","messageIdVsReactions","forEach","reaction","messageId","push","cidVsMessages","m","cid","mapStorableToMessage","messageRow","exports"],"sources":["getChannelMessages.ts"],"sourcesContent":["import type { MessageResponse } from 'stream-chat';\n\nimport { selectMessagesForChannels } from './queries/selectMessagesForChannels';\n\nimport { selectReactionsForMessages } from './queries/selectReactionsForMessages';\n\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { mapStorableToMessage } from '../mappers/mapStorableToMessage';\nimport type { TableRowJoinedUser } from '../types';\n\nexport const getChannelMessages = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channelIds,\n currentUserId,\n}: {\n channelIds: string[];\n currentUserId: string;\n}) => {\n const messageRows = selectMessagesForChannels(channelIds);\n const messageIds = messageRows.map(({ id }) => id);\n\n // Populate the message reactions.\n const reactionRows = selectReactionsForMessages(messageIds);\n const messageIdVsReactions: Record<string, TableRowJoinedUser<'reactions'>[]> = {};\n reactionRows.forEach((reaction) => {\n if (!messageIdVsReactions[reaction.messageId]) {\n messageIdVsReactions[reaction.messageId] = [];\n }\n messageIdVsReactions[reaction.messageId].push(reaction);\n });\n\n // Populate the messages.\n const cidVsMessages: Record<string, MessageResponse<StreamChatGenerics>[]> = {};\n messageRows.forEach((m) => {\n if (!cidVsMessages[m.cid]) {\n cidVsMessages[m.cid] = [];\n }\n\n cidVsMessages[m.cid].push(\n
|
|
1
|
+
{"version":3,"names":["_selectMessagesForChannels","require","_selectReactionsForMessages","_utils","_mapStorableToMessage","getChannelMessages","_ref","channelIds","currentUserId","messageRows","selectMessagesForChannels","messageIds","map","_ref2","id","reactionRows","selectReactionsForMessages","messageIdVsReactions","forEach","reaction","messageId","push","cidVsMessages","m","cid","isBlockedMessage","mapStorableToMessage","messageRow","exports"],"sources":["getChannelMessages.ts"],"sourcesContent":["import type { MessageResponse } from 'stream-chat';\n\nimport { selectMessagesForChannels } from './queries/selectMessagesForChannels';\n\nimport { selectReactionsForMessages } from './queries/selectReactionsForMessages';\n\nimport type { DefaultStreamChatGenerics } from '../../types/types';\nimport { isBlockedMessage } from '../../utils/utils';\nimport { mapStorableToMessage } from '../mappers/mapStorableToMessage';\nimport type { TableRowJoinedUser } from '../types';\n\nexport const getChannelMessages = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n channelIds,\n currentUserId,\n}: {\n channelIds: string[];\n currentUserId: string;\n}) => {\n const messageRows = selectMessagesForChannels(channelIds);\n const messageIds = messageRows.map(({ id }) => id);\n\n // Populate the message reactions.\n const reactionRows = selectReactionsForMessages(messageIds);\n const messageIdVsReactions: Record<string, TableRowJoinedUser<'reactions'>[]> = {};\n reactionRows.forEach((reaction) => {\n if (!messageIdVsReactions[reaction.messageId]) {\n messageIdVsReactions[reaction.messageId] = [];\n }\n messageIdVsReactions[reaction.messageId].push(reaction);\n });\n\n // Populate the messages.\n const cidVsMessages: Record<string, MessageResponse<StreamChatGenerics>[]> = {};\n messageRows.forEach((m) => {\n if (!cidVsMessages[m.cid]) {\n cidVsMessages[m.cid] = [];\n }\n\n if (!isBlockedMessage(m)) {\n cidVsMessages[m.cid].push(\n mapStorableToMessage<StreamChatGenerics>({\n currentUserId,\n messageRow: m,\n reactionRows: messageIdVsReactions[m.id],\n }),\n );\n }\n });\n\n return cidVsMessages;\n};\n"],"mappings":";;;;AAEA,IAAAA,0BAAA,GAAAC,OAAA;AAEA,IAAAC,2BAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAH,OAAA;AAGO,IAAMI,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAAC,IAAA,EAQzB;EAAA,IALJC,UAAU,GAAAD,IAAA,CAAVC,UAAU;IACVC,aAAa,GAAAF,IAAA,CAAbE,aAAa;EAKb,IAAMC,WAAW,GAAG,IAAAC,oDAAyB,EAACH,UAAU,CAAC;EACzD,IAAMI,UAAU,GAAGF,WAAW,CAACG,GAAG,CAAC,UAAAC,KAAA;IAAA,IAAGC,EAAE,GAAAD,KAAA,CAAFC,EAAE;IAAA,OAAOA,EAAE;EAAA,EAAC;EAGlD,IAAMC,YAAY,GAAG,IAAAC,sDAA0B,EAACL,UAAU,CAAC;EAC3D,IAAMM,oBAAuE,GAAG,CAAC,CAAC;EAClFF,YAAY,CAACG,OAAO,CAAC,UAACC,QAAQ,EAAK;IACjC,IAAI,CAACF,oBAAoB,CAACE,QAAQ,CAACC,SAAS,CAAC,EAAE;MAC7CH,oBAAoB,CAACE,QAAQ,CAACC,SAAS,CAAC,GAAG,EAAE;IAC/C;IACAH,oBAAoB,CAACE,QAAQ,CAACC,SAAS,CAAC,CAACC,IAAI,CAACF,QAAQ,CAAC;EACzD,CAAC,CAAC;EAGF,IAAMG,aAAoE,GAAG,CAAC,CAAC;EAC/Eb,WAAW,CAACS,OAAO,CAAC,UAACK,CAAC,EAAK;IACzB,IAAI,CAACD,aAAa,CAACC,CAAC,CAACC,GAAG,CAAC,EAAE;MACzBF,aAAa,CAACC,CAAC,CAACC,GAAG,CAAC,GAAG,EAAE;IAC3B;IAEA,IAAI,CAAC,IAAAC,uBAAgB,EAACF,CAAC,CAAC,EAAE;MACxBD,aAAa,CAACC,CAAC,CAACC,GAAG,CAAC,CAACH,IAAI,CACvB,IAAAK,0CAAoB,EAAqB;QACvClB,aAAa,EAAbA,aAAa;QACbmB,UAAU,EAAEJ,CAAC;QACbR,YAAY,EAAEE,oBAAoB,CAACM,CAAC,CAACT,EAAE;MACzC,CAAC,CACH,CAAC;IACH;EACF,CAAC,CAAC;EAEF,OAAOQ,aAAa;AACtB,CAAC;AAACM,OAAA,CAAAvB,kBAAA,GAAAA,kBAAA"}
|
|
@@ -2,7 +2,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
exports.urlRegex = exports.reduceMessagesToString = exports.queryUsersDebounced = exports.queryMembersDebounced = exports.makeImageCompatibleUrl = exports.isMentionTrigger = exports.isLocalUrl = exports.isEmojiTrigger = exports.isCommandTrigger = exports.hasOnlyEmojis = exports.getUrlWithoutParams = exports.getIndicatorTypeForFileState = exports.generateRandomId = exports.ProgressIndicatorTypes = exports.MessageStatusTypes = exports.FileState = exports.ACITriggerSettings = void 0;
|
|
5
|
+
exports.urlRegex = exports.reduceMessagesToString = exports.queryUsersDebounced = exports.queryMembersDebounced = exports.makeImageCompatibleUrl = exports.isMentionTrigger = exports.isLocalUrl = exports.isEmojiTrigger = exports.isCommandTrigger = exports.isBlockedMessage = exports.hasOnlyEmojis = exports.getUrlWithoutParams = exports.getIndicatorTypeForFileState = exports.generateRandomId = exports.ProgressIndicatorTypes = exports.MessageStatusTypes = exports.FileState = exports.ACITriggerSettings = void 0;
|
|
6
6
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
7
7
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
8
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
@@ -38,6 +38,11 @@ var getIndicatorTypeForFileState = function getIndicatorTypeForFileState(fileSta
|
|
|
38
38
|
return indicatorMap[fileState];
|
|
39
39
|
};
|
|
40
40
|
exports.getIndicatorTypeForFileState = getIndicatorTypeForFileState;
|
|
41
|
+
var isBlockedMessage = function isBlockedMessage(message) {
|
|
42
|
+
var pattern = /\bMessage was blocked by moderation policies\b/;
|
|
43
|
+
return message.type === 'error' && message.text && pattern.test(message.text);
|
|
44
|
+
};
|
|
45
|
+
exports.isBlockedMessage = isBlockedMessage;
|
|
41
46
|
var defaultAutoCompleteSuggestionsLimit = 10;
|
|
42
47
|
var defaultMentionAllAppUsersQuery = {
|
|
43
48
|
filters: {},
|