@mtkruto/node 0.66.3 → 0.66.4
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.
|
@@ -861,7 +861,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
861
861
|
if (!chatIds.size) {
|
|
862
862
|
return false;
|
|
863
863
|
}
|
|
864
|
-
return (await Promise.all(chatIds.values().map((v) => __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
864
|
+
return (await Promise.all(chatIds.values().map((v) => __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.getEntity(v)))).some((v) => !!v);
|
|
865
865
|
}, _UpdateManager_collectChatIds = function _UpdateManager_collectChatIds(object) {
|
|
866
866
|
const chatIds = new Set();
|
|
867
867
|
if (Api.is("messageFwdHeader", object)) {
|
package/package.json
CHANGED
|
@@ -865,7 +865,7 @@ _a = UpdateManager, _UpdateManager_c = new WeakMap(), _UpdateManager_updateState
|
|
|
865
865
|
if (!chatIds.size) {
|
|
866
866
|
return false;
|
|
867
867
|
}
|
|
868
|
-
return (await Promise.all(chatIds.values().map((v) => __classPrivateFieldGet(this, _UpdateManager_c, "f").
|
|
868
|
+
return (await Promise.all(chatIds.values().map((v) => __classPrivateFieldGet(this, _UpdateManager_c, "f").messageStorage.getEntity(v)))).some((v) => !!v);
|
|
869
869
|
}, _UpdateManager_collectChatIds = function _UpdateManager_collectChatIds(object) {
|
|
870
870
|
const chatIds = new Set();
|
|
871
871
|
if (_2_tl_js_1.Api.is("messageFwdHeader", object)) {
|