fix: visual glitch when sending message to new chat; no longer require at least one chat to have been created

This commit is contained in:
Pedro Lopez
2020-05-16 02:08:13 -04:00
parent 4188734839
commit d6637d662a
2 changed files with 7 additions and 24 deletions

View File

@@ -25,6 +25,7 @@ exports.ExposeStore = (moduleRaidStr) => {
window.Store.MediaTypes = window.mR.findModule('msgToMediaType')[0];
window.Store.UserConstructor = window.mR.findModule((module) => (module.default && module.default.prototype && module.default.prototype.isServer && module.default.prototype.isUser) ? module.default : null)[0].default;
window.Store.Validators = window.mR.findModule('findLinks')[0];
window.Store.WidFactory = window.mR.findModule('createWid')[0];
};
exports.LoadUtils = () => {