[FIX] Use STREAM module for getting connection state instead of removed Conn model
This commit is contained in:
parent
8babc97788
commit
512b21e522
3 changed files with 21 additions and 4 deletions
|
|
@ -7,6 +7,7 @@ exports.ExposeStore = (moduleRaidStr) => {
|
|||
eval("var moduleRaid = " + moduleRaidStr);
|
||||
window.mR = moduleRaid();
|
||||
window.Store = window.mR.findModule("Chat")[1].default;
|
||||
window.Store.AppState = window.mR.findModule("STREAM")[0].default;
|
||||
|
||||
window.Store.genId = window.mR.findModule((module) => module.default && typeof module.default === 'function' && module.default.toString().match(/crypto/))[0].default;
|
||||
window.Store.SendMessage = window.mR.findModule("sendTextMsgToChat")[0].sendTextMsgToChat;
|
||||
|
|
|
|||
Loading…
Reference in a new issue