sceyt-chat-react-uikit 1.8.6-beta.4 → 1.8.6-beta.5
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/index.js +6 -4
- package/index.modern.js +6 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18689,11 +18689,11 @@ function markMessagesRead(action) {
|
|
|
18689
18689
|
messageListMarker = _context0.v;
|
|
18690
18690
|
_context0.n = 5;
|
|
18691
18691
|
return effects.put(updateChannelDataAC(channel.id, {
|
|
18692
|
-
|
|
18692
|
+
lastDisplayedMessageId: channel.lastDisplayedMessageId
|
|
18693
18693
|
}));
|
|
18694
18694
|
case 5:
|
|
18695
18695
|
updateChannelOnAllChannels(channel.id, {
|
|
18696
|
-
|
|
18696
|
+
lastDisplayedMessageId: channel.lastDisplayedMessageId
|
|
18697
18697
|
});
|
|
18698
18698
|
_iterator6 = _createForOfIteratorHelperLoose(messageListMarker.messageIds);
|
|
18699
18699
|
case 6:
|
|
@@ -19155,7 +19155,7 @@ function notificationsTurnOn() {
|
|
|
19155
19155
|
}, _marked14, null, [[3, 6]]);
|
|
19156
19156
|
}
|
|
19157
19157
|
function markChannelAsRead(action) {
|
|
19158
|
-
var channelId, channel, updateData, _t16;
|
|
19158
|
+
var channelId, channel, updatedChannel, updateData, _t16;
|
|
19159
19159
|
return _regenerator().w(function (_context16) {
|
|
19160
19160
|
while (1) switch (_context16.p = _context16.n) {
|
|
19161
19161
|
case 0:
|
|
@@ -19171,10 +19171,12 @@ function markChannelAsRead(action) {
|
|
|
19171
19171
|
_context16.n = 2;
|
|
19172
19172
|
return effects.call(channel.markAsRead);
|
|
19173
19173
|
case 2:
|
|
19174
|
+
updatedChannel = _context16.v;
|
|
19174
19175
|
updateData = {
|
|
19175
19176
|
unread: false,
|
|
19176
19177
|
newMessageCount: 0,
|
|
19177
|
-
newMentionCount: 0
|
|
19178
|
+
newMentionCount: 0,
|
|
19179
|
+
lastDisplayedMessageId: updatedChannel === null || updatedChannel === void 0 ? void 0 : updatedChannel.lastDisplayedMessageId
|
|
19178
19180
|
};
|
|
19179
19181
|
updateChannelOnAllChannels(channel.id, updateData);
|
|
19180
19182
|
_context16.n = 3;
|
package/index.modern.js
CHANGED
|
@@ -18688,11 +18688,11 @@ function markMessagesRead(action) {
|
|
|
18688
18688
|
messageListMarker = _context0.v;
|
|
18689
18689
|
_context0.n = 5;
|
|
18690
18690
|
return put(updateChannelDataAC(channel.id, {
|
|
18691
|
-
|
|
18691
|
+
lastDisplayedMessageId: channel.lastDisplayedMessageId
|
|
18692
18692
|
}));
|
|
18693
18693
|
case 5:
|
|
18694
18694
|
updateChannelOnAllChannels(channel.id, {
|
|
18695
|
-
|
|
18695
|
+
lastDisplayedMessageId: channel.lastDisplayedMessageId
|
|
18696
18696
|
});
|
|
18697
18697
|
_iterator6 = _createForOfIteratorHelperLoose(messageListMarker.messageIds);
|
|
18698
18698
|
case 6:
|
|
@@ -19154,7 +19154,7 @@ function notificationsTurnOn() {
|
|
|
19154
19154
|
}, _marked14, null, [[3, 6]]);
|
|
19155
19155
|
}
|
|
19156
19156
|
function markChannelAsRead(action) {
|
|
19157
|
-
var channelId, channel, updateData, _t16;
|
|
19157
|
+
var channelId, channel, updatedChannel, updateData, _t16;
|
|
19158
19158
|
return _regenerator().w(function (_context16) {
|
|
19159
19159
|
while (1) switch (_context16.p = _context16.n) {
|
|
19160
19160
|
case 0:
|
|
@@ -19170,10 +19170,12 @@ function markChannelAsRead(action) {
|
|
|
19170
19170
|
_context16.n = 2;
|
|
19171
19171
|
return call(channel.markAsRead);
|
|
19172
19172
|
case 2:
|
|
19173
|
+
updatedChannel = _context16.v;
|
|
19173
19174
|
updateData = {
|
|
19174
19175
|
unread: false,
|
|
19175
19176
|
newMessageCount: 0,
|
|
19176
|
-
newMentionCount: 0
|
|
19177
|
+
newMentionCount: 0,
|
|
19178
|
+
lastDisplayedMessageId: updatedChannel === null || updatedChannel === void 0 ? void 0 : updatedChannel.lastDisplayedMessageId
|
|
19177
19179
|
};
|
|
19178
19180
|
updateChannelOnAllChannels(channel.id, updateData);
|
|
19179
19181
|
_context16.n = 3;
|