mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 14:30:43 +00:00
Change the default relay
This commit is contained in:
parent
c68772da70
commit
4154915575
@ -275,7 +275,8 @@ export class FeedService {
|
||||
console.log('Profiles changed:', profiles);
|
||||
});
|
||||
|
||||
this.openConnection('wss://relay.damus.io');
|
||||
// this.openConnection('wss://relay.damus.io');
|
||||
this.openConnection('wss://nostr-pub.wellorder.net');
|
||||
}
|
||||
|
||||
openConnection(server: string) {
|
||||
@ -291,8 +292,6 @@ export class FeedService {
|
||||
|
||||
const backInTime = moment().subtract(120, 'minutes').unix();
|
||||
|
||||
console.log('1111111111111111111111111 - SHOULD NOT HAPPEN');
|
||||
|
||||
// Start subscribing to our people feeds.
|
||||
const sub = relay.sub([{ kinds: [1], since: backInTime, authors: authors }], {}) as NostrSubscription;
|
||||
|
||||
@ -318,7 +317,7 @@ export class FeedService {
|
||||
});
|
||||
}
|
||||
|
||||
connect(server: string = 'wss://relay.damus.io', onConnected: any) {
|
||||
connect(server: string, onConnected: any) {
|
||||
// const relay = relayInit('wss://relay.nostr.info');
|
||||
const relay = relayInit(server);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user