Enable relay pings
This should re-establish relay connections when PWAs are being woken up after background sleep
This commit is contained in:
@@ -2,7 +2,7 @@ import Service from '@ember/service';
|
||||
import { RelayPool } from 'applesauce-relay';
|
||||
|
||||
export default class NostrRelayService extends Service {
|
||||
pool = new RelayPool();
|
||||
pool = new RelayPool({ enablePing: true });
|
||||
|
||||
async publish(relays, event) {
|
||||
if (!relays || relays.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user