mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Add push notification handling code into sw
This commit is contained in:
@@ -51,6 +51,7 @@ function Context({ auth, sync, children, dispatcher }: Props) {
|
||||
(async () => {
|
||||
let db;
|
||||
try {
|
||||
// Match sw.ts#L23
|
||||
db = await openDB('state', 3, {
|
||||
upgrade(db) {
|
||||
for (let store of [ "channels", "servers", "users", "members" ]) {
|
||||
|
||||
Reference in New Issue
Block a user