Turn off notifications for relay notices

This commit is contained in:
styppo 2022-12-31 16:38:46 +00:00
parent 22240dbde2
commit 36e1d5406b
No known key found for this signature in database
GPG Key ID: 3AAA685C50724C28

View File

@ -1,4 +1,3 @@
import {Notify} from 'quasar'
import {initBackend} from 'absurd-sql/dist/indexeddb-main-thread'
// import { channel } from './relay'
const worker = new Worker(new URL('./query.worker.js', import.meta.url))
@ -19,10 +18,7 @@ worker.onmessage = ev => {
}
if (notice) {
Notify.create({
message: `Relay ${notice.relay} says: ${notice.message}`,
color: 'info'
})
console.log(`Relay ${notice.relay} says: ${notice.message}`)
return
}