mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-19 03:51:34 +02:00
fix issue with new contacts event in relay fallback
This commit is contained in:
@@ -18,7 +18,7 @@ class UserRelaysFallbackService {
|
||||
}
|
||||
});
|
||||
subject.connectWithHandler(userContactsService.getSubject(pubkey), (contacts, next, value) => {
|
||||
if (!value || contacts.created_at > value.created_at) {
|
||||
if (contacts.relays.length > 0 && (!value || contacts.created_at > value.created_at)) {
|
||||
next({ pubkey: contacts.pubkey, relays: contacts.relays, created_at: contacts.created_at });
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user