mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
2d6e087fb0
* Check url with homeserver * Move check to where access-token is added * Do IPC comm sparingly Before, the code would fetch the hs for every request. Since this needs the whole event-handler dance, it's best we do it only for the requests that match the media endpoints. Also added some try..catch since we create URL objects that could potentially throw * Check origin instead of just hostname |
||
---|---|---|
.. | ||
@types | ||
i18n/strings | ||
displayMediaCallback.ts | ||
electron-main.ts | ||
ipc.ts | ||
keytar.ts | ||
language-helper.ts | ||
macos-titlebar.ts | ||
media-auth.ts | ||
preload.ts | ||
protocol.ts | ||
seshat.ts | ||
settings.ts | ||
squirrelhooks.ts | ||
tray.ts | ||
updater.ts | ||
utils.ts | ||
vectormenu.ts | ||
webcontents-handler.ts |