fix: expose GroupMetadata
WhatsApp Web v2.2045.15+ no longer has this in the store by default
This commit is contained in:
parent
e520a96b20
commit
b0465ceeff
1 changed files with 17 additions and 16 deletions
|
|
@ -28,6 +28,7 @@ exports.ExposeStore = (moduleRaidStr) => {
|
|||
window.Store.Validators = window.mR.findModule('findLinks')[0];
|
||||
window.Store.WidFactory = window.mR.findModule('createWid')[0];
|
||||
window.Store.BlockContact = window.mR.findModule('blockContact')[0];
|
||||
window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;
|
||||
};
|
||||
|
||||
exports.LoadUtils = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue