@vlprojects-chat/chat 0.17.0-LD-8093.4 → 0.17.0-LD-8093.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/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -33952,7 +33952,7 @@ let gp = class extends br({
|
|
|
33952
33952
|
const c = e.chat.channels.get(a);
|
|
33953
33953
|
c && (s.forEach((l) => l.randomId && c.drafts.cancelDraft(l.randomId)), c.addMessages(s));
|
|
33954
33954
|
});
|
|
33955
|
-
const o = e.chat.channelsList.filter(({ type: s }) => [nn.Public, nn.Private].includes(s)).map((s) => s.unreadMessagesCount);
|
|
33955
|
+
const o = e.chat.channelsList.filter(({ type: s }) => [nn.Public, nn.Private].includes(s)).map((s) => s.unreadMessagesCount).reduce((s, a) => s + a, 0);
|
|
33956
33956
|
console.log(`${sl.UpdateUnreadMsgCount}=> ${o}`), (i = e.chat.hostEventBus) == null || i.emit(
|
|
33957
33957
|
sl.UpdateUnreadMsgCount,
|
|
33958
33958
|
{ count: o }
|
|
@@ -39128,7 +39128,7 @@ const yP = {
|
|
|
39128
39128
|
}, gce = () => {
|
|
39129
39129
|
const e = pe.useContext(_2);
|
|
39130
39130
|
return e ? e.chatSnackbarContainer : null;
|
|
39131
|
-
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.
|
|
39131
|
+
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.4", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
|
|
39132
39132
|
"dist"
|
|
39133
39133
|
], Oce = {
|
|
39134
39134
|
type: "git",
|