morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 595 forks source link

[BUG] Page showing blank on Brave browser #363

Open gongchandang49 opened 1 month ago

gongchandang49 commented 1 month ago

When opening Telegram Web K on Brave browser, it will show a blank page (it was working well just 1 day ago) and the following error in the console. Clearing site data is not an option since I need the session to remain alive.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toPeerId')
    at Object.callback (rootScope.ts:222:22)
    at jr.invokeListenerCallback (eventListenerBase.ts:132:25)
    at jr._dispatchEvent (eventListenerBase.ts:163:29)
    at jr.dispatchEvent (eventListenerBase.ts:183:10)
    at jr.dispatchEvent (rootScope.ts:237:13)
    at mo (loadState.ts:182:15)
    at async Promise.all (k/index 0)
    at async Promise.all (k/index 0)
    at async HTMLDocument.<anonymous> (index.ts:311:35)
(anonymous) @ rootScope.ts:222
invokeListenerCallback @ eventListenerBase.ts:132
_dispatchEvent @ eventListenerBase.ts:163
dispatchEvent @ eventListenerBase.ts:183
dispatchEvent @ rootScope.ts:237
mo @ loadState.ts:182

Desktop (please complete the following information):